csvkit icon indicating copy to clipboard operation
csvkit copied to clipboard

csvsql: support converting quotes to backtick

Open mariobb opened this issue 10 years ago • 1 comments

Would be nice to have an option to output the CREATE TABLE statement w/o ANSI_QUOTES, since mysql >= 5.7 does not support ANSI_QUOTES by default anymore.

Workaround SET SQL_MODE=ANSI_QUOTES;

mariobb avatar Nov 16 '16 10:11 mariobb

Just run with --dialect mysql.

jpmckinney avatar Jan 03 '17 18:01 jpmckinney