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 2005 Forums
 SQL Server Administration (2005)
 Login

Author  Topic 

honey_191
Starting Member

49 Posts

Posted - 2008-05-12 : 17:24:21
How to know whether Login is sql server login or windows login?Is there any system tables r there to find out this?

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2008-05-12 : 17:26:37
Check out the type and type_desc columns in sys.server_principals. Check out BOL for more details.

Tara Kizer
Microsoft MVP for Windows Server System - SQL Server
http://weblogs.sqlteam.com/tarad/

Database maintenance routines:
http://weblogs.sqlteam.com/tarad/archive/2004/07/02/1705.aspx
Go to Top of Page

honey_191
Starting Member

49 Posts

Posted - 2008-05-12 : 18:19:21
Thanks Tara.
Go to Top of Page
   

- Advertisement -