FireDAC.Comp.Script.TFDScriptOptions.DropNonexistObj

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property DropNonexistObj: Boolean read FDropNonexistObj write FDropNonexistObj default True;

C++

__property bool DropNonexistObj = {read=FDropNonexistObj, write=FDropNonexistObj, default=1};

Properties

Type Visibility Source Unit Parent
property published
FireDAC.Comp.Script.pas
FireDAC.Comp.Script.hpp
FireDAC.Comp.Script TFDScriptOptions

Description

Controls the dropping of the nonexistent database objects.

Set the DropNonexistObj property to True to ignore the "table does not exists" or "view does not exists" type of error at the DROP or ALTER TABLE DROP CONSTRAINT SQL command execution. This is useful to avoid the checking for the existence of dropping objects. The default value is True

The property can be set from a script using the SET DROPnonexistent ON|OFF command.

See Also