Login ProductsSalesSupportDownloadsAbout |
Home » Technical Support » DBISAM Technical Support » Support Forums » DBISAM SQL » View Thread |
Messages 1 to 3 of 3 total |
Issue with quotes and colons |
Mon, Mar 27 2006 3:26 PM | Permanent Link |
Walter Ries | I am running an SQL query with some strings and am getting an error. I've narrowed down the issue to having a quote in one value and a colon in
the other. Here is a sample: select * from TEST_TABLE where TEST_NAME = "Joe's form" and TEST_VALUE = "a:b" In my application I am getting error "11949 SQL Error - ..." with different error text, depending upon which fields in my update statement have quotes and colons. When I run the SQL in the DBsys, I get an error message of "Indexes on table(s) in the query are either missing or appear invalid. Would you like me to create empty ones for you?", even though there is no problem with the index. If I remove either the quote mark or the colon, then it works fine. I am going to change my SQL to use parameters, but do you know why the parser is having problems with the above values? |
Mon, Mar 27 2006 4:58 PM | Permanent Link |
"Malcolm" | Hi Walter
Try this: select * from TEST_TABLE where TEST_NAME = 'Joe''s form' and TEST_VALUE = 'a:b' Malcvolm |
Tue, Mar 28 2006 1:05 PM | Permanent Link |
Tim Young [Elevate Software] Elevate Software, Inc. timyoung@elevatesoft.com | Walter,
<< I am running an SQL query with some strings and am getting an error. I've narrowed down the issue to having a quote in one value and a colon in the other. >> What version of DBISAM are you using ? -- Tim Young Elevate Software www.elevatesoft.com |
This web page was last updated on Monday, May 6, 2024 at 12:23 AM | Privacy PolicySite Map © 2024 Elevate Software, Inc. All Rights Reserved Questions or comments ? E-mail us at info@elevatesoft.com |