SQL Detection, Vulnerablity, Scan, Discovery
Attached are some utilities and ways to do the above mentioned topic
SQL Ping which gets the Version, Port Details by Scanning Network
SQL Script when run on a server will show the vulnerablity level
Some Links:
Techtarget
NSE Programming
Script to Audit User Logins for weak passwords:
AuditUser