Using SQL command files

This section describes how to process files consisting of a set of commands. Command files are text files that contain SQL statements, and are useful if you want to run the same SQL statements repeatedly. Command files are also commonly called scripts. Command files can be built manually, or they can be built automatically by database utilities. The dbunload utility, for example, creates a command file consisting of the SQL statements necessary to recreate a database.

 Creating command files

Run SQL command files in Interactive SQL
Writing database output to a file