Detach Database

Detach a local database from its server instance.

Privileges

Normal

Input Parameters

Name Type Required Description
SQL Server String Yes The name of the server that is hosting SQL Server.
Database String Yes The name of the database.

Output Parameters

Name Type Description
Result Number Returns a success value of zero or any value other than zero to indicate failure.

Example Input Parameters

Name Type Required Example
SQL Server String Yes Localhost
Database String Yes SQLdev