Hi;
With MySQL I understand how to use SHOW TABLES, and DESCRIBE and such, I also understand that I can do things like "SHOW KEYS FROM MyTable WHERE Key_name='PRIMARY'" to just get the primary key.
But is there a simple MySQL statement that will show me ALL the primary keys for all of my tables in one fell swoop? I don't seem to be able to use the % wildcard in a statement like "SHOW KEYS FROM MyDB.% WHERE Key_name='PRIMARY'".
I've been looking at the MySQL documentation but am not clear if what I'm asking is possible.
Thanks.