Solved

sys.server_principals & sys.syslogins

Posted on 2010-09-09
2
1,354 Views
Last Modified: 2012-05-10
what is the reason for 2 system views to hold the same login info?

thanks
0
Comment
Question by:anushahanna
2 Comments
 
LVL 57

Accepted Solution

by:
Raja Jegan R earned 500 total points
ID: 33636721
sys.server_principals - Starting from SQL Server 2005, its recommended to use this view.
sys.syslogins  - This is a compatibility view to support 2000 databases and hence not recommended for use starting from SQL Server 2005.
0
 
LVL 6

Author Comment

by:anushahanna
ID: 33636727
OK. Thanks.
0

Featured Post

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
SQL Syntax 5 35
SQL Server 2012 - Merge Replication Issue 1 20
create an aggregate function 9 32
Passing Parameter to Stored Procedure 4 24
When you hear the word proxy, you may become apprehensive. This article will help you to understand Proxy and when it is useful. Let's talk Proxy for SQL Server. (Not in terms of Internet access.) Typically, you'll run into this type of problem w…
For both online and offline retail, the cross-channel business is the most recent pattern in the B2C trade space.
Via a live example, show how to set up a backup for SQL Server using a Maintenance Plan and how to schedule the job into SQL Server Agent.
Viewers will learn how to use the INSERT statement to insert data into their tables. It will also introduce the NULL statement, to show them what happens when no value is giving for any given column.

776 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question