This will return many empty result sets, but non-empty ones match the table / column combinations that match your search. It works only for text and detects columns containing a value (as opposed to a complete match of columns).
DELIMITER | DROP PROCEDURE IF EXISTS `SearchAllTables`| CREATE PROCEDURE `SearchAllTables` ( IN _search varchar(256) ) LANGUAGE SQL DETERMINISTIC SQL SECURITY DEFINER BEGIN
Oh yes, and it's ugly ... Maybe it will help you!
grossvogel
source share