Jump to content

Recommended Posts

Queries are specific to the table(s) you have written in your query. To search all the tables, you would need to list all of them in the query, either in a UNION or a JOIN. There is no wild-card search across all the tables in a database. Why do you have similar/same information split into 255 different tables?

I don't have same data in my tables, the issue is that I need to find WHAT table contains a certain string of PHP code that is causing a problem on my site. I am running drupal, so the error is not coming back in a way that is helping me determine which page is causing the problem.

 

OK, so if I were to use REGEX for this and list out a bunch of tables that could be the culprit, can I get around having to include the specific column? Meaning, can I have it search specific tables in full rather than provide an exact column to try to match on?

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.