SQL SERVER如何通过SQL语句获得“某个用户名下”默认的登陆库名 如图所示
SELECT * FROM sys.database_principals;
https://www.cnblogs.com/bobi-PHP-blog/p/7676764.html