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
 General SQL Server Forums
 New to SQL Server Programming
 Default Schema??

Author  Topic 

raky
Aged Yak Warrior

767 Posts

Posted - 2009-05-19 : 09:06:51

How to know the default schema of a database using T_SQL Query??? Please reply...

webfred
Master Smack Fu Yak Hacker

8781 Posts

Posted - 2009-05-19 : 10:30:18
IMHO the default schema depends on the user.

Webfred


No, you're never too old to Yak'n'Roll if you're too young to die.
Go to Top of Page

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2009-05-19 : 10:35:53
i think he meant default schema for a login?
Go to Top of Page

rhysmeister
Starting Member

6 Posts

Posted - 2009-05-21 : 06:06:21
You can find this info in select * from sys.database_principals

Twitter Integration | Ping.fm Integration | SQL Server Blog
Go to Top of Page
   

- Advertisement -