Home page  
Help >
ddlDetach() - detach from one or all Thunderbolt databases
Version 7.11
ddlDetach() - detach from one or all Thunderbolt databases
ddlDetach() - detach from one or all Thunderbolt databases

Prototype:
   void ddlDetach(
      CONTROL *ctl,
      char *OptnStr,
      char *ArgList);

Permitted values in OptnStr:
   /E - If the specified <dbName> is not currently ATTACHed, do not return error
        code in ctl->Status; instead, return error code in ctl->Warning.

Form of ArgList:
      [<dbName>]

Description:
If <dbName> is specified, it is DETACHed. If no <dbName> is specified, all ATTACHed databases are DETACHed. DETACH discards all current SORTs and RELATEs. Raw collection content is preserved.

Values returned in ctl->Ans1:
       ctl->Ans1 is incremented by 1 for each data base that is successfully DETACHed.

Copyright © 2019 , WhamTech, Inc.  All rights reserved. This document is provided for information purposes only and the contents hereof are subject to change without notice. Names may be trademarks of their respective owners.