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
Compare two excel files
how to make an MsAccess form resolution independent?
Anyone knows what this fruit is called in english and if I can buy it in the USA somewhere even online
SQL database issues over ipsec site to site tunnel on Juniper SSG520
var state
Inconsistent crystal reports
can read ssl.crt/server.crt and ssl.key/server.key on centos about ssl of apache
Windows 7 WGA says my legitimate copy is NOT GENUINE
Unable to install any framework .NET in XP Mode (Virtual PC)
syslink Router