Solved

sysxlogins vs syslogins

Posted on 2010-08-18
4
1,481 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 3

Assisted Solution

by:PrakashRaoBS
PrakashRaoBS earned 333 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 167 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 333 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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

Why is this different from all of the other step by step guides?  Because I make a living as a DBA and not as a writer and I lived through this experience. Defining the name: When I talk to people they say different names on this subject stuff l…
The Delta outage: 650 cancelled flights, more than 1200 delayed flights, thousands of frustrated customers, tens of millions of dollars in damages – plus untold reputational damage to one of the world’s most trusted airlines. All due to a catastroph…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
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

617 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