Microsoft
Software
Hardware
Network
Question : test login/user
without manually connecting and testing, is it possible for a sa to test if the login/user has connect privileges fine (if password works ok etc) through t-sql code? basically something equivalent to 'test' button in ssis..
thanks
Answer : test login/user
Ok, Hope you want to check from sa login right. In that case, then you can run the script below
select * from sys.syslogins
where hasaccess = 1
and sid = SUSER_ID ('name')
If a row is returned, then the login has connect privileges else it is not.
Random Solutions
xp pro machine as print server bt cant print from windows 7 PC
SBS 2008 - STOP c00002e2
split comma delimited values into seperate columns in SQL 2005
I want to make Liberty reserve API
life of flat screen monitors
If table does not exist then
SAP Requisition Total Amount
Will there be a 13" Macbook with an iCore processor anytime soon? Safe to buy C2D?
E72 - How to make email work without activating data services?
WinForms in VS 2010