To show all MSSQL databases except the normal system databases.
1 |
select * from sys.databases WHERE name NOT IN ('master', 'tempdb', 'model', 'msdb'); |
To show all MSSQL databases except the normal system databases.
1 |
select * from sys.databases WHERE name NOT IN ('master', 'tempdb', 'model', 'msdb'); |