I am having an issue for formulating this question, but this is essentially what I want. Once connecting to a database I want to search for something which could be in any table inside any column.
SELECT * FROM table1 where column='123456789'
becomes
SELECT * FROM [AllTablesInDatabase] where [AllColumnsInDatabase]='%123456789%'
I feel like this is a common question, but I can't seem to formulate it in a way that I can find the answer to this. I am using mySQL, 8.0 I believe, just trying to see what I can do in it. I can see that I likely can just output a list of a huge database's tables and columns and just paste it, but that is going to be an extremely long statement.