question

doublem9 avatar image
doublem9 asked

In SQL 2012, the tables for master db is not shown. where is it?

In sql 2005,2008 express I can see the master tables. In sql 2012 express it is not there anymore! But when I do a select * from mytablename I see it in there... please point me to the right direction thanks!
sql-server-2012mastersystem-objectsresource-database
10 |1200 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Fatherjack avatar image
Fatherjack answered
If you mean in the SSMS Object Explorer, there is a new branch in the databases tree called System Databases. Providing you have the right permissions the Master database will be visible in there: ![alt text][1] [1]: /storage/temp/453-2012-10-26_0835.png

1 comment
10 |1200 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Yes..double click on master. Do you see "Tables"?
0 Likes 0 ·
ThomasRushton avatar image
ThomasRushton answered
A few things have changed in terms of the underlying database objects. What are you looking for? Have you got broken code, or are you just poking around under the hood? Look in SSMS under Database / System Databases / master - keep exploring, there's all sorts of stuff under there, but not necessarily where you expect to find it if you're used to the locations used by earlier versions of SQL. The other place to look is in the [Resource Database][1] as this is where read-only system objects now live. [1]: http://msdn.microsoft.com/en-us/library/ms190940.aspx
10 |1200 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.