columnStandardTable
Nested element for defining columns within createStandardTable.
This is a separate element from Liquibase column - it uses its own XSD definition to include Snowflake-specific features while excluding unsupported core attributes.
Supported attributes
From core column
Attribute | Type | Description |
| String | Column name (required) |
| String | Snowflake data type |
| Boolean | Whether column allows NULL (default: true) |
| Boolean | Whether value is computed |
| String | Column comment |
| String | Default string value |
| String | Default numeric value |
| Boolean | Default boolean value |
| String | Default date value (ISO format) |
| String | Default computed expression |
| String | Sequence NEXTVAL as default |
| String | Sequence CURRVAL as default |
| String | Name for default value constraint |
| Boolean | Enable autoincrement |
| Long | Starting value for autoincrement |
| Long | Increment step for autoincrement |
| String | Generation type for auto-increment |
| Boolean | Generate value when NULL is inserted |
Snowflake-specific
Attribute | Type | Description |
| String | Sequence ordering: |
| String | Column collation (e.g., |
| String | Name of masking policy to apply |
| String | Columns for USING clause in masking policy |
| String | Name of projection policy to apply |
*Only valid when autoIncrement=true.
ORDER vs NOORDER behavior
Mode | Guarantees | Performance | Use case |
| Values in strict sequential order | Reduced concurrency | Invoice numbers, audit sequences |
| Unique values, may have gaps | Better throughput | Log entries, event records |
Unsupported core attributes
These core column attributes are not available:
Attribute | Reason |
| Snowflake doesn't support column positioning |
| Snowflake doesn't support column positioning |
| Snowflake doesn't support column positioning |
| Use |
| Use |
| Use |
| Use |
| Use |
| Not supported in table creation context |
| Not supported in table creation context |
| Not applicable |
| Not applicable (index-specific) |
Nested elements
constraints
Extends core constraints with Snowflake-specific options.
Attribute | Type | Description |
| Boolean | Whether constraint is enforced (Snowflake-specific) |
| Boolean | Whether optimizer relies on constraint (Snowflake-specific) |
| String | Foreign key update action: |
| String | Foreign key delete action: |
tags
Column-level tags for metadata management (nested element in XML, array in JSON/YAML).
-- Standard table with ORDER column
CREATE TABLE PUBLIC.ORDERS_WITH_ORDERED_ID (
ID NUMBER AUTOINCREMENT ORDER START 1 INCREMENT 1 PRIMARY KEY,
ORDER_NUMBER VARCHAR(50) NOT NULL,
AMOUNT NUMBER (10, 2)
);
-- Standard table with NOORDER column
CREATE TABLE PUBLIC.LOGS_WITH_NOORDER_ID (
LOG_ID NUMBER AUTOINCREMENT NOORDER START 1 INCREMENT 1,
MESSAGE VARCHAR(500),
CREATED_AT TIMESTAMP_NTZ
);
-- Mixed column types with custom sequence
CREATE TABLE PUBLIC.MIXED_COLUMN_TYPES (
ID NUMBER AUTOINCREMENT ORDER START 1000 INCREMENT 10 PRIMARY KEY,
NAME VARCHAR(100) NOT NULL,
VERSION NUMBER AUTOINCREMENT NOORDER START 1 INCREMENT 1
);