Re: SQL2005 sys tables



In SQL Server 2005, system objects are stored in a new system database
called the Resource database. System metadata is exposed to users in
catalog views.
In general, there is an equivalent catalog view for every system table. So,
instead of querying the sysusers table, you should query the sys.users
catalog view.

Another important change related to system metadata is that in SQL Server
2005, the visibility of metadata is limited to securables that a user either
owns or on which the user has been granted some permission. In earlier
versions, metadata was visible to members of the public role (meaning,
anyone with access to the db).

I recommend the following Books Online topics to get you up-to-speed on
these changes.
Resource Database
Catalog Views (Transact-SQL)
Mapping SQL Server 2000 System Tables to SQL Server 2005 System Views
Querying the SQL Server System Catalog FAQ
Metadata Visibility Configuration

Regards
--
Gail Erickson [MS]
SQL Server Documentation Team
This posting is provided "AS IS" with no warranties, and confers no rights

"mecn" <mecn2002@xxxxxxxxx> wrote in message
news:uEK5Zo3UGHA.5552@xxxxxxxxxxxxxxxxxxxxxxx
Hi,

In sql2005, I don't a lot of sys tables in master db.
i.e. sysusers and syslogins?

ANy ideas?

Thanks



.



Relevant Pages

  • Re: Printing the KEYS of all tables
    ... the internal architecture of SQL Server and may change from release to ... or that code that access system tables will not work in Yukon. ... catalog views regardless. ... the understanding of metadata. ...
    (microsoft.public.sqlserver.programming)
  • Re: Definition: A Catalog vs. a Database?
    ... These are views of the catalog ... metadata for that specific individual database. ... management of the SQL Server (for example, ...
    (microsoft.public.sqlserver)
  • Re: Difference between catalog and metadata?
    ... the schemas, etc.)? ... be stored in the catalog / metadata? ... among only SQL Server implemented it. ...
    (comp.databases.theory)
  • Re: Difference between catalog and metadata?
    ... the schemas, etc.)? ... be stored in the catalog / metadata? ... only SQL Server implements it. ...
    (comp.databases.theory)
  • Re: Performance question
    ... perhaps in your case by sales rank. ... Looking for a SQL Server replication book? ... For the past year as our catalog has grown, ... say a customer searches our ...
    (microsoft.public.sqlserver.fulltext)