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
No output from an echo
After Windows update, NIC has limited or no connectivity
Certificate Authority 2003, 2008 Enterprise Root CA
'similar items' thumbnail linkusing php and mysql
Solaris 10 License Expire questions
Cisco ASDM 6.2 for ASA 5510
Default User/Password for Panasonic DP-C405 Web Interface
SSAS Filter Unused Dimension Members
INSERT INTO table with no Duplicates
Java Compile