--sql-file

Last updated: May 1, 2026

The file where SQL statements are stored.

Syntax

You can set this parameter in the following ways:

Option

Syntax

Command CLI parameter

--sql-file=<string>

Liquibase properties file (defaults file)

liquibase.command.sqlFile: <string>

Command flow file argument (example)

cmdArgs: { sql-file: "<string>" }

JVM system property (JAVA_OPTS environment variable)

JAVA_OPTS=-Dliquibase.command.sqlFile=<string>

Liquibase environment variable

LIQUIBASE_COMMAND_SQL_FILE=<string>