phpMyAdmin - SQL Server Insert Headache
Hi
I just can't get my head round this.
I am using phpMyAdmin to set up and manage a database, but I'm having real problems, trying to INSERT data into a table through the SQL Server windows.
Now here's the strange part - if I type the data directly into the SQL Server window it runs the query fine and adds the data to the table. However, if I paste the data from another file in exactly the same format it comes up with a syntax error???
#1064 - You have an error in your SQL Server syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'Africa’, ‘20mm’, 258.5, 49.5),(NULL, ‘Nero Africa’, ‘30mm’, 291.5,' at line 1
If I use the MySQL prompt, it works fine too, but I can't copy and paste to this. I am 99.99999% certain there is nothing wrong with the syntax.
I could input all by hand but that would take forever. Please help before I am forced to get a paper round.
Thanks
Mark
|