Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
| Author |
Topic |
|
ekuni
Starting Member
1 Post |
Posted - 2009-06-02 : 01:51:21
|
| I'm trying to update some data on the SQL server that runs my website.I need to update some character based fields (names)....but it just won't accept this command:UPDATE tblRetailer SET name='Kroger', WHERE RetailerID=255;This is the error I get:*****************************************ErrorSQL query:UPDATE tblRetailer SET name = 'Kroger',WHERE RetailerID =255MySQL said: Documentation#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE RetailerID=255' at line 1*****************************************Anyone know what's wrong with this? |
|
|
khtan
In (Som, Ni, Yak)
17689 Posts |
Posted - 2009-06-02 : 01:53:32
|
Try posting over at a MySQL forum. This is a MSSQL forum KH[spoiler]Time is always against us[/spoiler] |
 |
|
|
webfred
Master Smack Fu Yak Hacker
8781 Posts |
Posted - 2009-06-02 : 01:56:39
|
How ever there is a comma - delete it! No, you're never too old to Yak'n'Roll if you're too young to die. |
 |
|
|
|
|
|