Search all columns of a table for a value?

后端 未结 9 1665
自闭症患者
自闭症患者 2021-01-17 15:36

I\'ve looked for an answer to this, but all I can find is people asking how to search all columns of ALL tables in a database for a value. I just want to search all columns

9条回答
  •  耶瑟儿~
    2021-01-17 16:28

    This sounds like you just want to know which table and column some data is stored, not that you want to know that during the execution of your code, or change it. I also had this problem and this solved it:

    Download your database in SQL format (using phpmyadmin, for example), open it with a text editor and search for the occurrences you want.

提交回复
热议问题