May be this question has been answered before but I couldn\'t find it.
I am using a 2/3 yr old MySQL database which has hyphens in its column names. When I try to us
Do you have hyphens (-) or underscores (_) in your column names?
Hyphens are a big problem because if you end up mapping a column name to a variable, most languages do not like to have hyphens inside variable names. Perhaps you are using one of the Java libraries that automatically generates variables or objects whose names are based on column names.
Depending on the nature of your problem, there are a couple of different approaches you can use:
None of these are great solutions, but they should get you started. Good luck!