Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 SQL Server Administration (2000)
 get db_owner

Author  Topic 

AskSQLTeam
Ask SQLTeam Question

0 Posts

Posted - 2004-03-25 : 08:05:36
Neng writes "I'm using SQL 2000 installed on an Windows Advanced Server. Is there a SQL function that returns the db_owner when I pass a table_id to this function?"

ehorn
Master Smack Fu Yak Hacker

1632 Posts

Posted - 2004-03-25 : 08:15:46
[code]SELECT TABLE_SCHEMA
FROM INFORMATION_SCHEMA.TABLES
WHERE TABLE_NAME = <your table>[/code]
Go to Top of Page
   

- Advertisement -