Question
Using Quotes in a Query
I am running CF MX7 Enterprise, and using a Sybase driver as
the datasource. I can run this query just fine:
select my_field from my_table
where my_key = '1234'
but I get an error when I replace the single quotes with double quotes (shift-quote on the keyboard), like this:
select my_field from my_table
where my_key = "1234"
If I switch to an ODBC socket either one will work. It's just the Sybase driver that throws the error. Does anyone have any expeience with this?
select my_field from my_table
where my_key = '1234'
but I get an error when I replace the single quotes with double quotes (shift-quote on the keyboard), like this:
select my_field from my_table
where my_key = "1234"
If I switch to an ODBC socket either one will work. It's just the Sybase driver that throws the error. Does anyone have any expeience with this?