+44 (0) 845 260 0726

Pixl8

You are:

  • | Share

Getting table information on MySQL

Alex Skinner   Posted: 12 February 2008

Dissecting a database again the joys of trying to work out what talks to what.

Some time ago I blogged a post about finding table information from sql server well the query below has proved useful today in working out what tables are used as part of the application i'm analysing.

SELECT TABLE_NAME,TABLE_ROWS,UPDATE_TIME AS LASTUPDATED FROM INFORMATION_SCHEMA.TABLES
WHERE table_schema = 'MYDATABASENAME'
ORDER BY UPDATE_TIME desc
  1. Bookmark & Share :
  2. Delicious
  3. Digg
  4. Facebook
  1. Comments (0)
  2. 610 Views