sqadm exec-sql(1)

NAME

sqadm exec-sql - Execute SQL scripts

SYNOPSIS

sqadm exec-sql [-1] [--jdbc-url url] [--jdbc-user user] [file…​]

DESCRIPTION

This command executes SQL scripts.

The sqadm exec-sql command shall be executed on a running database.

OPTIONS

-1, --single-transaction

Execute all scripts in a single transaction. In auto-commit mode (the default), all SQL statements will be executed and committed as individual transactions.

--jdbc-url url

Use alternate database connection, with url of the form jdbc:subprotocol:subname.

--jdbc-user user

Use alternate database username.

file

SQL scripts to execute.