VARIABLE
objectpartialUDFs, procedures, tasks, alerts, scriptingCreates a new schema variable, a named, typed, persistent scalar value scoped to a schema.
Statements
ALTER VARIABLEsupportedCREATE VARIABLEsupportedDESCRIBE VARIABLEsupportedDROP VARIABLEsupportedSHOW VARIABLESsupportedUNDROP VARIABLEdeferred
Known gaps
- Restoring dropped schema variables is unavailable: Snowflake returns an unsupported-feature error on both Standard and Enterprise accounts. Rejection behavior is verified independently and does not imply support for successful restoration.
Neighborhood
Depends on
TYPEstrict — viaCREATE VARIABLE
Depended on by
FUNCTIONoptional — viaCREATE FUNCTIONPROCEDUREoptional — viaCREATE PROCEDURE