http://qs321.pair.com?node_id=467658


in reply to [MySql] dumping table structure

I'd just use:

$ mysql -u <user> -p -e "DESCRIBE <table>;" <database>

IMHO, that provides even a cleaner/more readable result.

--
b10m

All code is usually tested, but rarely trusted.