I'd just use:
$ mysql -u <user> -p -e "DESCRIBE <table>;" <database>
IMHO, that provides even a cleaner/more readable result.
In reply to Re: [MySql] dumping table structure
by b10m
in thread [MySql] dumping table structure
by neniro
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |