Posted by Hans-Henry Jakobsen
# mysql dbname -B -N -e "SELECT serial FROM serials" >/path/to/outfile
-B or –batch: prints rows tab-separated and turns off the borders -N or –skip-column-names: leaves out the header row
Tags: Database, MySQL
Comments are closed.