Previous Topic

Next Topic

sql Command—Start the Line Mode SQL Terminal Monitor

The sql command invokes the line mode Terminal Monitor for SQL. For procedures on using this Terminal Monitor, see the SQL Reference Guide.

The sql command has the following format:

sql [SQL option flags] [line-mode flags] dbname |vnode::dbname[/server_class] [<altin] [>altout]

Previous Topic

Next Topic

sql Examples

This command opens the SQL line mode Terminal Monitor for working in the empdata database:

sql empdata

This command opens empdata and does not print the dayfile:

sql empdata -d

This command opens empdata, suppressing the dayfile message and the terminal monitor prompts and messages, and reads into the workspace the contents of the batchfile:

sql empdata -s <batchfile

This command opens empdata, displays f4 columns in G format with two decimal places and i1 columns with three spaces:

sql empdata -f4g12.2 -I13


© 2007 Ingres Corporation. All rights reserved.