SQL script files

SQL script files are text files that contain SQL statements, and are useful if you want to execute the same SQL statements repeatedly. Script files can be built manually, or they can be built automatically by database utilities. The Unload utility (dbunload), for example, creates a script file consisting of the SQL statements necessary to recreate a database.

 Creating SQL script files
 See also

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