Search a whole table in mySQL for a string

后端 未结 8 1619
孤城傲影
孤城傲影 2020-12-14 01:13

I\'m trying to search a whole table in mySQL for a string.

I want to search all fields and all entrees of a table, returning each full entry that contains the speci

8条回答
  •  陌清茗
    陌清茗 (楼主)
    2020-12-14 01:45

    If you are just looking for some text and don't need a result set for programming purposes, you could install HeidiSQL for free (I'm using v9.2.0.4947).

    Right click any database or table and select "Find text on server".

    All the matches are shown in a separate tab for each table - very nice.

    Frighteningly useful and saved me hours. Forget messing about with lengthy queries!!

提交回复
热议问题