Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SAP Sybase SQL Anywhere 16.0 » SQL Anywhere Server - SQL Usage » Data import and export » SQL script files

 

Running a SQL script file in batch mode (command line)

You can supply a SQL script file as a command line argument for Interactive SQL.

Prérequis

The privileges required depend on the statements being executed.

 Task
  • Run the dbisql utility and supply a SQL script file as a command line argument.

Résultat

The SQL script file is run.

Exemple

The following command runs the SQL script file myscript.sql against the SQL Anywhere sample database.

dbisql -c "DSN=SQL Anywhere 16 Demo" myscript.sql

 See also