Table of Contents

ISQLGenerator.GenerateDropField Method

Generates the DDL statement that removes an existing column from a table.

Syntax

Unit: Aurelius.Sql.Interfaces

function ISQLGenerator.GenerateDropField(Column: TColumnMetadata): string; virtual; abstract;

Parameters

<-> Parameter Type Description
Column TColumnMetadata The metadata describing the column to drop.

Returns

The ALTER TABLE ... DROP COLUMN DDL statement as a SQL string.

See also