Skip to main content

Database Variable

The database variable for compatibility with SchemaChange for dynamic cross-database interactions, enhancing modularity and eliminating the need to hardcode database names.

This is the variable text substituted for database names in the generated SnowDT scripts when Use Database References is enabled. The @@this token refers to the database being referenced.

When to Change This Setting

Change it to match the variable syntax expected by the deployment tooling that resolves database names.

SettingInteraction
Use Database ReferencesEnables the substitution that uses this variable

Notes

  • This setting is part of the Snowflake settings category.
  • The default value for this setting is {{ @@this }}.