Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

sql server query list all databases

select name  
from sys.Databases
WHERE name NOT IN ('master', 'tempdb', 'model', 'msdb');  /* removing the name of sys db*/
Source by www.geeksforgeeks.org #
 
PREVIOUS NEXT
Tagged: #sql #server #query #list #databases
ADD COMMENT
Topic
Name
6+6 =