DETACH command The DETACH command removes the logical DBMS instance attachment, and terminates the physical communication connection if there are no other logical connections using this layer. AuthorizationNone Required connectionNone. Removes an existing instance attachment. Command syntaxDETACH Command parametersNone