select name from master..sysdatabases 转载于:https://www.cnblogs.com/zhangtao/archive/2010/03/22/1691961.html