更新时间:2023-02-18 09:14:52
你可以使用目录存储过程 [ ^ ]获取数据库中的表列表,然后使用查询,例如 where [ ^ ]搜索所有文本列。
警告 - 这可能需要一些时间才能运行。
You can use the catalog stored procedures[^] to get a list of tables in your database then use a query such as the one here[^] to search all of the text columns.
Warning - this may take some time to run.
您可以尝试一个现成的程序:搜索SQL Server数据库的所有表中的字符串 [ ^ ]
There's a ready made procedure you can try: Search for a string in all tables of SQL Server Database[^]