![]() |
|
|||||||
| Notices |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Guest
Posts: n/a
|
determine system database...
what is the best way to determine if a database is actually a system
database through tsql? The only tangible thing that I can see is dbid. however I would far rather a database property to check in t-sql. Thanks in advance, M. |
|
|
|
#2 |
|
Guest
Posts: n/a
|
Re: determine system database...
Here is some idea.
Check how Microsoft guys are doing that. Build a simple application that uses Microsoft.SqlServer.Management.Smo.Database.IsSyst emObject property for each database. Run Profiler and see how SMO is checking if the database is a system database or not. -- Regards Pawel Potasinski [ Użytkownik "Mark B" <> napisał w wiadomości news:.gbl... > what is the best way to determine if a database is actually a system > database through tsql? > > The only tangible thing that I can see is dbid. however I would far rather > a database property to check in t-sql. > > Thanks in advance, > > M. > |
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
< Windows Help - MS Office Help - Hardware Support >
| New To Site? | Need Help? |