Solved

sysxlogins vs syslogins

Posted on 2010-08-18
4
1,387 Views
Last Modified: 2012-05-10

in SQL 2000, there are more entries in sysxlogins than syslogins.

is there any info in sysxlogins that is not in syslogins? what was the purpose to keep both these views?

thanks
0
Comment
Question by:anushahanna
  • 2
4 Comments
 
LVL 3

Assisted Solution

by:PrakashRaoBS
PrakashRaoBS earned 333 total points
Comment Utility
syslogin contains the sql server logins and sysxlogins includes the link server logins & sql logins
0
 
LVL 142

Accepted Solution

by:
Guy Hengel [angelIII / a3] earned 167 total points
Comment Utility
sysxlogins was (and still is) undocumented, so should not have been used at all.
anyhow, as it was only in sql 2000, one should not care any longer about it.

from what I would guess is that sysxlogins was a table having the "history/log" of the changes to syslogins ...
0
 
LVL 3

Assisted Solution

by:PrakashRaoBS
PrakashRaoBS earned 333 total points
Comment Utility
syslogin table contains sql logins, windows logins.

sysxlogin table contains sql logins, windows logins & Link Server logins.

sysxlogin contains srvid column. you can join the srvid column with sysservers table and fetch the link servers.

you can check the following query to get link server info from sysxlogin tables.
select 
	b.srvname, a.* 
from 
	sysxlogins a inner join sysservers b 
on 
	b.srvid = a.srvid

Open in new window

0
 
LVL 6

Author Comment

by:anushahanna
Comment Utility
Thanks for the very useful info.
0

Featured Post

Free Gift Card with Acronis Backup Purchase!

Backup any data in any location: local and remote systems, physical and virtual servers, private and public clouds, Macs and PCs, tablets and mobile devices, & more! For limited time only, buy any Acronis backup products and get a FREE Amazon/Best Buy gift card worth up to $200!

Join & Write a Comment

Suggested Solutions

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…
This article explains how to reset the password of the sa account on a Microsoft SQL Server.  The steps in this article work in SQL 2005, 2008, 2008 R2, 2012, 2014 and 2016.
Using examples as well as descriptions, and references to Books Online, show the different Recovery Models available in SQL Server and explain, as well as show how full, differential and transaction log backups are performed
Via a live example, show how to shrink a transaction log file down to a reasonable size.

771 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now