INSERT INTO `products` (`product_id`, `product_name`, `level`, `gender`) VALUES
('1',New Balance 855,'1','men'),
('2',Brooks ASR2,'1','men'),
('3',Montrail Hurricane Ridge XCR,'1','men'),
('4',Spira Genesis,'1','men'),
('5',Spira Vortex,'1','men'),
('6',New Balance 587,'1','men'),
('7',Merrell Stormfront,'1','men'),
('8',Merrell Motovator,'1','men'),
('9',Saucony 3D Grid Hurricane 6,'1','men')
I am using a tool extract this data from a table called products to a remote server with a table with the same name.(using phpmysqladmin) For some reason in the extraction process the script created does not include all the quotes, when I place the quotes around the product name it still errors out.
#1064 - You have an error in your SQL syntax near 'Balance 855,'1','men'),
('2',Brooks ASR2,'1','men'),
('3',Montrail Hurrica' at line 2
I can't determine what's missing, especially because I am using a mysql tool to extract the data to create this script.
('1',New Balance 855,'1','men'),
('2',Brooks ASR2,'1','men'),
('3',Montrail Hurricane Ridge XCR,'1','men'),
('4',Spira Genesis,'1','men'),
('5',Spira Vortex,'1','men'),
('6',New Balance 587,'1','men'),
('7',Merrell Stormfront,'1','men'),
('8',Merrell Motovator,'1','men'),
('9',Saucony 3D Grid Hurricane 6,'1','men')
I am using a tool extract this data from a table called products to a remote server with a table with the same name.(using phpmysqladmin) For some reason in the extraction process the script created does not include all the quotes, when I place the quotes around the product name it still errors out.
#1064 - You have an error in your SQL syntax near 'Balance 855,'1','men'),
('2',Brooks ASR2,'1','men'),
('3',Montrail Hurrica' at line 2
I can't determine what's missing, especially because I am using a mysql tool to extract the data to create this script.