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 TDH> enclose these names in backquotes -- so when I try to restore a database TDH> from a dump file, I get SQL errors. TDH> Does anyone have a simple solution? If not, might future versions of TDH> mysqldump allow such fields to be backquoted? Use --quote-names option of mysqldump. Look at: http://www.mysql.com/doc/m/y/mysqldump.html TDH> T.D. Houfek -- For technical support contracts, goto https://order.mysql.com/?ref=ensita This email is sponsored by Ensita.net http://www.ensita.net/ __ ___ ___ ____ __ / |/ /_ __/ __/ __ \/ / Egor Egorov / /|_/ / // /\ \/ /_/ / /__ [EMAIL PROTECTED] /_/ /_/\_, /___/\___\_\___/ MySQL AB / Ensita.net <___/ www.mysql.com --------------------------------------------------------------------- Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail <[EMAIL PROTECTED]> To unsubscribe, e-mail <[EMAIL PROTECTED]> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php