---
title: "Variables"
description: "Invantive Script variables are globally named variables with a text value."
language: en
source_language: en
translation_state: complete
canonical: https://documentation.invantive.eu/en/docs/invantive-script/variables
original: https://documentation.invantive.eu/en/docs/invantive-script/variables
updated: 2026-08-09T00:00:00Z
license: https://documentation.invantive.eu/en/
---

Invantive Script variables are globally named variables with a text value. The names are case-insensitive.

# Variable Use
The value of an Invantive Script variable can be used in SQL statements or variable value assignment by using the syntax
```
${NAME}
```
which expands run-time to the text value of the variable. Expansion is recursive: it repeats itself till there are no Invantive Script variables left to expand.

An error is raised when an undefined variable name is used.

Variables can be defined using [[Define]] and undefined using [[Undefine]].

# Pre-defined Variables
A number of pre-defined variables can be found in [[Pre-defined Variables]].