Page is a not externally linkable
- Code, Content, and Presentation
-- Databases
---- Information Schema


ZakAltF4 - 8:51 pm on Feb 17, 2012 (gmt 0)


I am using SSH on a linux box to run queries for quick access to info etc... I seem to have misplaced my brain, however and can't for the life of me figure out the syntax for searching ALL databases and ALL tables for a '%like%' ... This is what I have so far, any input/help greatly appreciated!

->SELECT * from INFORMATION_SCHEMA WHERE * LIKE '%like%';
-> No database selected ...

How do I search where database = * ?


Thread source:: http://www.webmasterworld.com/databases_sql_mysql/4418952.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com