INSERT INTO `garment`.`meta_my_sequence_table`
(`id`,
`sequence`)
SELECT 0,TYPE_CODE FROM meta_transaction_types WHERE type_code LIKE '%R' ;
Showing posts with label MYSQL. Show all posts
Showing posts with label MYSQL. Show all posts
Sunday, June 16, 2013
Wednesday, February 10, 2010
MySql Tips
Loading data from a text file :
Removing spaces :
LOAD DATA INFILE 'aino.txt' INTO TABLE products_options_values (products_options_values_name);(Text file is read from the database directory of the default database)
Removing spaces :
update products_options_values set products_options_values_name = REPLACE(products_options_values_name,' ' ,'');
Labels:
MYSQL
Subscribe to:
Posts (Atom)
