I'd like to limit the rows and columns that come back from the
SHOW TABLE STATUS
command in MySQL 5.1. Is there a way to get this same information through a SELECT statement so I can manipulate the results in a normal way?
|
I'd like to limit the rows and columns that come back from the
command in MySQL 5.1. Is there a way to get this same information through a |
|||
|
|
|
This has more columns than SHOW TABLE STATUS; but does the trick:
UPDATE 2011-06-07 19:02
These queries work if you set the current database. You can also hard code the specific database:
|
||||
|
|
|
show table status like 'table1'; |
|||||
|