Table of Contents

TDDLCommand.BuildSQL Method

Generates and returns the DDL SQL statement for this command using the given SQL generator.

Syntax

Unit: Aurelius.Schema.Commands

function TDDLCommand.BuildSQL(Generator: ISQLGenerator): string; virtual; abstract;

Parameters

<-> Parameter Type Description
Generator ISQLGenerator The dialect-specific SQL generator used to produce the statement text.

Returns

The DDL SQL statement string ready for execution.

See also