What is the proper way to do this?
select column1, column2, "2003/3/11" as variable
from table
The 'variable' is a predefined value that i would like to include in the return of my query. It seems to work when I run it in access, but through my web server (coldfusion) it doesn't work. (Which is another weirdness in itself, because they should both be sending the same code to the same database!)
When I run it from Coldfusion I get "[Macromedia][SQLServer JDBC Driver][SQLServer]Invalid column name '2003/3/11'."
TIA for any help!
select column1, column2, "2003/3/11" as variable
from table
The 'variable' is a predefined value that i would like to include in the return of my query. It seems to work when I run it in access, but through my web server (coldfusion) it doesn't work. (Which is another weirdness in itself, because they should both be sending the same code to the same database!)
When I run it from Coldfusion I get "[Macromedia][SQLServer JDBC Driver][SQLServer]Invalid column name '2003/3/11'."
TIA for any help!