有没有办法在sql management studio 2008中的所有表的名称中搜索字符串?我不希望复杂的查询只是短键,例如ctrl + f - >"test" - > find - > screen,其中包含指向名称中带有"test"的所有表的链接.
所以基本上你在找这样的东西?
SELECT name
FROM sys.tables
WHERE name LIKE '%yourStringHere%'
-- AND schema_name = 'dbo' -- in case you need the Schema too
Run Code Online (Sandbox Code Playgroud)