SQL Server here and there
2010年12月29日 星期三
SQL Server: Query all database name
SELECT dbid, RTRIM(name) DatabaseName
From master..sysdatabases
Where status not in (512, 528)
and name not like 'temp%'
and dbid > 4
沒有留言:
張貼留言
較新的文章
較舊的文章
首頁
訂閱:
張貼留言 (Atom)
沒有留言:
張貼留言