Q
Problem solve Get help with specific problems with your technologies, process and projects.

Query to find SQL Server database names created by users

Find how to query in SQL Server to get all database names created by users.

Can you give me a query to get all the database names (created by users) of one SQL Server?
You can query the sys.databases view or the sysdatabases compatibility view.
This was last published in December 2007

Dig Deeper on SQL Server Database Modeling and Design

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Please create a username to comment.

-ADS BY GOOGLE

SearchBusinessAnalytics

SearchDataCenter

SearchDataManagement

SearchAWS

SearchOracle

SearchContentManagement

SearchWindowsServer

Close