Summary
This article describes the method for determining what databases are currently attached to Microsoft SQL Server.
Note: This procedure applies to Microsoft SQL Server 2000 (MSSQL) and Microsoft SQL Server Desktop Edition (MSDE) installations. It does not apply to Oracle installations.
More Information
The following procedures provide a list of the databases that are currently attached to Microsoft SQL Server. Not all of the databases that are listed by this procedure are necessarily databases created for use with Laserfiche. Furthermore, a database may be attached to Microsoft SQL Server but not registered to the Laserfiche Server. These procedures will not in themselves indicate whether a particular database was created for use with Laserfiche, or whether it is registered to the Laserfiche Server.
If Enterprise Manager is available, it can be used to list the databases attached to your Microsoft SQL Server. If Enterprise Manager is not available, you can view a list of the attached databases using osql commands. Scripts that will automatically run these commands have been provided in the following instructions.
To list attached Microsoft SQL Server databases using Enterprise Manager
Note: The desired Microsoft SQL Server must be registered with Enterprise Manager. See the following MSDN article for information on registering a SQL Server:
How to register a server (Enterprise Manager)
Note: If a database is attached or detached while this window is open, you may need to refresh in order to see a current list of attached databases. Press F5 to refresh.
To list attached Microsoft SQL Server databases using using a VBScript file containing osql commands