Table of Contents

ISQLGenerator.GenerateDropUniqueKey Method

Generates the DDL statement that removes a unique key constraint from a table.

Syntax

Unit: Aurelius.Sql.Interfaces

function ISQLGenerator.GenerateDropUniqueKey(UniqueKey: TUniqueKeyMetadata): string; virtual; abstract;

Parameters

<-> Parameter Type Description
UniqueKey TUniqueKeyMetadata The metadata describing the unique key to drop.

Returns

The DDL statement that drops the unique constraint as a SQL string.

See also