DropDelete
Specify whether DROP TABLE deletes the table’s data in addition to the table.
Synopsis
[SQL] DropDelete=n
n is either 1 or 0. The default value is 1.
Description
When DropDelete is enabled (n = 1), a DROP TABLE statement deletes the table and the table's data. When this parameter is not enabled, a DROP TABLE statement deletes the table, but does not delete the data.
For further details, refer to the DROP TABLE command.
Changing This Parameter
To set the desired value for DropDelete from the Terminal, use the SetOption(“DDLDropTabDelData”)Opens in a new tab method of the %SYSTEM.SQL.UtilOpens in a new tab class. See the class reference for details.
You can also change DropDelete with the Config.SQLOpens in a new tab class (as described in the class reference) or by editing the CPF in a text editor (as described in Editing the Active CPF).