I am working with a mySQL database in which some column names contain
hyphens. These have to be enclosed in backquotes (`table-name1) within
SQL statements.
Problem: when generating its own SQL statements, mysqldump does not
enclose these names in backquotes -- so when I try to restore a
T.D.,
Thursday, May 16, 2002, 6:54:45 PM, you wrote:
TDH I am working with a mySQL database in which some column names contain
TDH hyphens. These have to be enclosed in backquotes (`table-name1) within
TDH SQL statements.
TDH Problem: when generating its own SQL statements, mysqldump does not
Hi.
shell mysqldump --help | grep 'quote\|Ver'
mysqldump Ver 8.14 Distrib 3.23.38, for pc-linux-gnu (i686)
-Q, --quote-names Quote table and column names with `
don't know why it isn't the default, but it seems you can force them
this way.
Regards,
Benjamin.
On Thu, May 16,