Thoughts of Dan
a personal and public white board
Wednesday, March 24, 2010
Want to list all the tables.columns in your mysql DB
SELECT CONCAT(TABLE_NAME,'.',COLUMN_NAME)
FROM information_schema.COLUMNS
where TABLE_SCHEMA='foo'
and TABLE_NAME like 'USER%'
No comments :
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments ( Atom )
No comments :
Post a Comment