Mega Code Archive

 
Categories / MySQL / Command Mysql
 

Produce output in formats other than tab-delimited

% mysql -N -e " your query here " db_name | sed -e "s/ TAB /#/g" > output_file