Esta sección solo está disponible en inglés.

Variables and environments: Overriding a type at one site

{{name|literal}}, {{name|ident}}, {{name|number}}, {{name|raw}} override the declaration forthat one usage.

Última actualización 2026-10-21

{{name|literal}}, {{name|ident}}, {{name|number}}, {{name|raw}} override the declaration for that one usage. This is rare and should stay rare — the point of typing the declaration is that the person who knew what the value was decided once. Reach for it when one script genuinely needs a value both ways, for example {{target.database}} as an identifier in a USE and as a literal in a logging insert.

A script using {{target.name|literal}} to override the variable's type at one site, and the preview showing it substituted as a quoted literal.
A script using {{target.name|literal}} to override the variable's type at one site, and the preview showing it substituted as a quoted literal.