select * from sys.databases WHERE name NOT IN ('master', 'tempdb', 'model', 'msdb');
Share with
or copy link