Welcome Guest, Not a member yet? Register   Sign In
Query for Show Tables?
#1

[eluser]diywm[/eluser]
I wondered if there was a way to do a MySQL query on a database to get a resultset of all tables whose names fit a criteria (without having to go to the information_schema database).

I wanted to do a SHOW TABLES LIKE 'fred%' to get all tables with names starting with fred. I can do that, but it seems to return no results that I can loop through.

Do I have to go to the meta data in the information_schema if I want to do this?


Messages In This Thread
Query for Show Tables? - by El Forum - 07-21-2010, 06:50 PM
Query for Show Tables? - by El Forum - 07-21-2010, 09:56 PM
Query for Show Tables? - by El Forum - 07-22-2010, 02:54 PM
Query for Show Tables? - by El Forum - 07-22-2010, 03:06 PM
Query for Show Tables? - by El Forum - 07-22-2010, 03:34 PM



Theme © iAndrew 2016 - Forum software by © MyBB