Use Database References
Enable the use of database variables for compatibility with SchemaChange for dynamic cross-database interactions, enhancing modularity and eliminating the need to hardcode database names.
When enabled, BimlFlex writes the variable text from Database Variable in place of the database names it recognizes in the SnowDT stored procedures it generates, in the views of Create Satellite Views and Create Persistent View, and in the Source Create Sql of some objects, or the text of their Source Create SQL extension point when the Source Create Sql is empty, so the deployment tooling can resolve database names at deploy time instead of using hardcoded literals.
When to Change This Setting
Enable it when deploying the SnowDT output with SchemaChange or similar tooling where the physical database names differ per environment.
Related Settings
| Setting | Interaction |
|---|---|
| Database Variable | The variable text substituted for database names |
| Additional Database References | Extra database names to match that are not defined as connections |
| SSDT Use Database References | The equivalent option for SSDT database projects |
Notes
- This setting is part of the Snowflake settings category.
- The default value for this setting is
N.