select count(*) from compounds as c where 1=1 and c.CAS REGEXP '[0-9]-[0-9]{2}-[0-9]{1}';
update compounds set CAS=REPLACE(CAS, '\r','');
update compounds set CAS=REPLACE(CAS, '\r\n','');
mysql> update chemmolc_customer.compounds set CAS=TRIM(CAS);
mysql> update a.compounds as cc, b.compounds as bc set cc.CAS=bc.CAS where cc.mol_id=bc.mol_id;
Subscribe to:
Post Comments (Atom)
-
Step 1, New a project rails new demo Step 2, Update Gemfile add paperclip, mysql2 gem, enable JavaScript runtime gem 'mysql2' ...
-
I used 7z to zip this file under Windows, try to unzip it under linux [ang@walker temp]$ gunzip 2011.sdf.zip gunzip: 2011.sdf.zip: unkno...
-
By install php-xml, you may enable it. [root@localhost html]# yum install php-xml check: [root@localhost html]# php -m [PHP Modules] bz2 cal...
No comments:
Post a Comment