Hi,
Does anyone know how to create a field name with a "#" or "%" character in it?
Eg.
CREATE TABLE test (`my fld#1` CHAR(1), `my fld%2` CHAR(1));
MySQL complains about this, despite the manual saying that these characters are allowed if enclosed in back-quotes (`).
I need to do this as I'm currently converting a Perl app to run against MySQL aswell as it's orignal DB (which has loads of fields with #'s in!).
Thanks,
Fiendy
Does anyone know how to create a field name with a "#" or "%" character in it?
Eg.
CREATE TABLE test (`my fld#1` CHAR(1), `my fld%2` CHAR(1));
MySQL complains about this, despite the manual saying that these characters are allowed if enclosed in back-quotes (`).
I need to do this as I'm currently converting a Perl app to run against MySQL aswell as it's orignal DB (which has loads of fields with #'s in!).
Thanks,
Fiendy