Finding logins on SQL Server using ‘sp_helplogins’

We can find how many logins are available on a particular SQL Server instance using  ‘sp_helplogins’ stored procedure, otherwise we can use ‘sys.syslogins’ predefined database object.

It displays all login names and SID’s and  creation time etc.

The following image tells the clear information about all logins on SQL Server instance.

  1. sp_helplogins

sp_helplogins

2. select * from sys.sysloginssyslogins

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s