Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

help, what's wrong with this code

Status
Not open for further replies.

griffta

Programmer
Dec 28, 2005
1
GB
can anyone tell me why mysql doesn't like this...
INSERT INTO MPM_op
(
OPID,
NUMID,
TEMPID,
VALID_OP,
USERID,
DATES,
CAT,
THIRD,
COREL,
COMMENTS,
OUT,
IMP,
ACCOUNT,
BALANCE,
PERIOD
)
VALUES('113581587416000','','1','1','113581587416','2005-12-29','2','113581587416000','0','Resume','0','0','113581587416000','0','0')

I get...
ERROR 1064 (42000): 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 'OUT,
IMP,
ACCOUNT,
BALANCE,
' at line 13

Thanks,

Matt
 
There is a list of reserved words, and guidance on usage, at:

________________________________________________________________
If you want to get the best response to a question, please check out FAQ222-2244 first.
'If we're supposed to work in Hex, why have we only got A fingers?'
Drive a Steam Roller
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top