开发者

SQL Server Management Studio Schema View

开发者 https://www.devze.com 2022-12-21 12:26 出处:网络
I\'m working with a SQL server and several databases. Each database may have many schema\'s, such as dbo., admin., other., and I\'m getting tired of scrolling around trying to find things.

I'm working with a SQL server and several databases. Each database may have many schema's, such as dbo., admin., other., and I'm getting tired of scrolling around trying to find things.

If I'm working on a schema specific project, I want to filter out everything else from my view except that schema. As dbo, I see everything which means I spend the majority of my day molesting my scroll wheel (that is a joke).

Is this possible in SQL Server Management Studi开发者_开发技巧o 2008?


In SSMS 2005 or 2008, right click on the heading: "Stored Procedures", "Tables", etc, then on "Filter Settings", then for the "Schema" change "Operator" to "Does not contain" or "Contains", etc and then set a Value to filter them...


Yes: don't connect as db_owner or "sa".

Connect as a user that can access and change the desired schema only.

This way, the engine "Metadata visibility" will do it automatically


FYI, I was searching for tables under cdc schema, the change data capture schema that was created. After much struggle, I found that those tables are in the Tables->System Tables folder. So SSMS did show the non default schema but in this case it was in a different folder.

0

精彩评论

暂无评论...
验证码 换一张
取 消