ISQLGenerator.GenerateCreateColumn Method
Generates the DDL statement that adds a new column to an existing table.
Syntax
Unit: Aurelius.Sql.Interfaces
function ISQLGenerator.GenerateCreateColumn(Column: TColumnMetadata): string; virtual; abstract;
Parameters
| <-> | Parameter | Type | Description |
|---|---|---|---|
| Column | TColumnMetadata | The metadata describing the column to add. |
Returns
The ALTER TABLE ... ADD COLUMN DDL statement as a SQL string.