Thread: Data Table !?
View Single Post
Old Apr 5th, 2006, 1:39 PM   #14
DaWei
Resident Grouch
 
DaWei's Avatar
 
Join Date: Jun 2005
Posts: 6,453
Rep Power: 10 DaWei is on a distinguished road
If I remember correctly, and often I don't, REPLACE requires a field name and the current contents of that field. It's possible you have two tables with the same field name. I recommend UPDATE, which requires a table name and a statement for each field name you wish to update. Quite seriously, you need to get a couple of good books or tutorial sites and read up. There are a number of good recommendations on the forum. You are working far to much in the dark.
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code.
Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers
DaWei is offline   Reply With Quote