Skip to main content

Delete parent database without deleting child database

Hi,
 
is there a way to script deleting a parent database without deleting child database. When I do this manually it comes up with the option: would you like to delete child database? Is there a way to script this? (havening been able to find anything)
thanks for your time,
 
Mike

Brian Element Wed, 11/06/2019 - 10:53

In the script just use:

Client.DeleteDatabase "Sample-DBASE.IMD"

It only deletes that database, it doesn't delete the child databases.  If you want those deleted you would have to have a DeleteDatabase line for each database you want to delete.

mikew Mon, 11/11/2019 - 04:35

thanks Brian, apologies for the simple question. Wanted to make sure there wasnt a separate function for this.
 
 

The website encountered an unexpected error. Try again later.