Home | Previous Page | Next Page   Getting Started with DB-Access > Invoking DB-Access >

Executing a Command File

When you invoke DB–Access from the command line, you can specify a database as current, execute a file that contains one or more SQL statements, and display multilevel error messages.

The following sample command executes the SQL statements in a file named sel_stock.sql on the mystores database:

dbaccess mystores sel_stock

The following sample command executes the SQL statements in the sel_all.sql file on the database that file specifies:

dbaccess - sel_all.sql
Home | [ Top of Page | Previous Page | Next Page | Contents | Index ]