Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

sysxlogins vs syslogins

Posted on 2010-08-18
4
Medium Priority
?
1,554 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 1332 total points
ID: 33465062
syslogin contains the sql server logins and sysxlogins includes the link server logins & sql logins
0
 
LVL 143

Accepted Solution

by:
Guy Hengel [angelIII / a3] earned 668 total points
ID: 33465067
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 1332 total points
ID: 33465115
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
ID: 33465740
Thanks for the very useful info.
0

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Question has a verified solution.

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

Recently we ran in to an issue while running some SQL jobs where we were trying to process the cubes.  We got an error saying failure stating 'NT SERVICE\SQLSERVERAGENT does not have access to Analysis Services. So this is a way to automate that wit…
Windocks is an independent port of Docker's open source to Windows.   This article introduces the use of SQL Server in containers, with integrated support of SQL Server database cloning.
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…
Using examples as well as descriptions, and references to Books Online, show the documentation available for date manipulation functions and by using a select few of these functions, show how date based data can be manipulated with these functions.

926 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