Re: Table OWNER
From: John Bell (jbellnewsposts_at_hotmail.com)
Date: 12/22/04
- Previous message: JD: "Re: Developer has SA registration details"
- In reply to: Saradhi: "Table OWNER"
- Next in thread: Saradhi: "Re: Table OWNER"
- Reply: Saradhi: "Re: Table OWNER"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Wed, 22 Dec 2004 15:29:35 -0000
Hi
"Saradhi" <upadrasta@inooga.com> wrote in message
news:OfVRfVD6EHA.3504@TK2MSFTNGP12.phx.gbl...
1) Wts the query to know the Owner of a table?
Select * FROM INFORMATION_SCHEMA.TABLES
WHERE TABLE_NAME = '<Table Name>'
2) I logged in as a user pardha whose server role is a system administrator.
I created a table in the SQL Enterprise Manager and SQL Query Analyser, but
the EM shows the owner of the Table as dbo. it should show as pardha as I
created it. Is there anything wrong in my thinking?
As you are (probably) a member of the sysadmin fixed server role you will be
mapped onto dbo.
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/adminsql/ad_security_9qyh.asp
John
-SARADHI
- Previous message: JD: "Re: Developer has SA registration details"
- In reply to: Saradhi: "Table OWNER"
- Next in thread: Saradhi: "Re: Table OWNER"
- Reply: Saradhi: "Re: Table OWNER"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|