Does mySQL not like dashes or something? I seem to be getting the
following error:
"Unknown column 'etrans' in 'where clause'"
when I do the following query:
SELECT * from expense where etrans-num > 25
If I try:
SELECT * from expense where expense.'etrans-num' > 25
I get:
"You have an error in your SQL syntax, Check the manual that
corresponds to your MySQL version for the right syntax to use near
"etrans-num' > 25' at line 1
What's wrong with using dashes in field names?????
PW
following error:
"Unknown column 'etrans' in 'where clause'"
when I do the following query:
SELECT * from expense where etrans-num > 25
If I try:
SELECT * from expense where expense.'etrans-num' > 25
I get:
"You have an error in your SQL syntax, Check the manual that
corresponds to your MySQL version for the right syntax to use near
"etrans-num' > 25' at line 1
What's wrong with using dashes in field names?????
PW
Comment