Solved

sysxlogins vs syslogins

Posted on 2010-08-18
4
1,448 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
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

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

Suggested Solutions

Everyone has problem when going to load data into Data warehouse (EDW). They all need to confirm that data quality is good but they don't no how to proceed. Microsoft has provided new task within SSIS 2008 called "Data Profiler Task". It solve th…
Load balancing is the method of dividing the total amount of work performed by one computer between two or more computers. Its aim is to get more work done in the same amount of time, ensuring that all the users get served faster.
Via a live example, show how to backup a database, simulate a failure backup the tail of the database transaction log and perform the restore.
Viewers will learn how the fundamental information of how to create a table.

830 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