Get the Names of All Non-System Databases in an MS SQL Server

Category:
Database
Type:
Snippets
Difficulty:
Beginning
Author:
Alexander Fast

Version Compatibility:

More information:
Using SQLDMO, so you need add a reference to this library to your project.

Instructions: Copy the declarations and code below and paste directly into your VB project.

Declarations:

Code: