Database Command Throwing Error
Posted: Wed Jul 10, 2013 12:02 pm
Greetings All,
I am trying to update a database in which each record has 23 fields. One of my records is throwing the following error:
[ComputerEase][ODBC Driver]Expected lexical element not found: <identifier>
I have narrowed my problem down to one field called "notes." The column type is "STRING" and the column length is "64000." Can anyone see something obvious in the following command that would cause this error? Is there a particular character that is causing my ODBC driver to choke?
I am assuming that the structure of my command is correct because it works for all the other 8,000+ records in this particular database. The problem must lie somewhere within the single quotes. YES - NO ?
UPDATE dpEQUIPMENT SET notes = 'HARTMAN#1270799-02/1265998-05/1272807-01 8/7,9/21,10/5/01:(42) STN-296T8HO-277V-EB81 METALUX (E).:HARTMAN#1276799-01 11/2/01:(1) MHSS-PD25-M-400-2-LL-FH1-MWS LUMARK(A):HARTMAN#1265998-01 7/30/1 (38)2GR8-332A-277V-EB81 METALUX (D).C/T#1110:BILLED TO I.WEAVER' WHERE sitenum = '2850NAVE' AND equipnum = 'FIXTMIS5'
Thanks in advance for any help.
John Miller
I am trying to update a database in which each record has 23 fields. One of my records is throwing the following error:
[ComputerEase][ODBC Driver]Expected lexical element not found: <identifier>
I have narrowed my problem down to one field called "notes." The column type is "STRING" and the column length is "64000." Can anyone see something obvious in the following command that would cause this error? Is there a particular character that is causing my ODBC driver to choke?
I am assuming that the structure of my command is correct because it works for all the other 8,000+ records in this particular database. The problem must lie somewhere within the single quotes. YES - NO ?
UPDATE dpEQUIPMENT SET notes = 'HARTMAN#1270799-02/1265998-05/1272807-01 8/7,9/21,10/5/01:(42) STN-296T8HO-277V-EB81 METALUX (E).:HARTMAN#1276799-01 11/2/01:(1) MHSS-PD25-M-400-2-LL-FH1-MWS LUMARK(A):HARTMAN#1265998-01 7/30/1 (38)2GR8-332A-277V-EB81 METALUX (D).C/T#1110:BILLED TO I.WEAVER' WHERE sitenum = '2850NAVE' AND equipnum = 'FIXTMIS5'
Thanks in advance for any help.
John Miller