sysxlogins vs syslogins


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
LVL 6
anushahannaAsked:
Who is Participating?
 
Guy Hengel [angelIII / a3]Connect With a Mentor Billing EngineerCommented:
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
 
PrakashRaoBSConnect With a Mentor Commented:
syslogin contains the sql server logins and sysxlogins includes the link server logins & sql logins
0
 
PrakashRaoBSConnect With a Mentor Commented:
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
 
anushahannaAuthor Commented:
Thanks for the very useful info.
0
All Courses

From novice to tech pro — start learning today.