This is an old revision of the document!
OdxSql is an Omnidex interactive SQL utility used for testing installations, prototyping queries, and exporting data. OdxSql supports many functions designed to assist in creating fully optimized installations and queries including benchmarking and the explain plan.
OdxSql allows the interactive specification of SQL statements using supported SQL 92 syntax. OdxSql also fully supports the Omnidex Query Language as well as several additional functions exclusive to OdxSql.
Run OdxSql from the command line with the following syntax:
odxsql [environment_name] | [-use=use_file]
Run time arguments:
environment_name The environment_name parameter is the environment catalog filespec that OdxSql will connect to. OdxSql will try to connect to the specified environment. If this filespec is not passed as a program argument, then a CONNECT statement must be performed to establish a connection to the environment catalog.
-use=use_file The -use=use_file parameter instructs OdxSql to process all the commands contained within the specified use file. The right hand side of the parameter, use_file, is the filespec of the file containing the commands.
Example
odxsql
or
odxsql orders.env
or
odxsql -use=commands.txt
Getting Help
Type help at the command prompt with no arguments to see an alphabetical list of ODXSQL commands.
help
…
Type help with the argument 'syntax' at the command prompt to see a list of commands with their syntax.
help syntax
…
Type help followed by a specific command to see additional information about that command.
help connect
CONNECT Connect to an environment file Syntax: Connect [TO] filename [AS [user]/[password]] [WITH options]
See HELP in the ODXSQL Commands section for more information.
© Copyright Dynamic Information Systems - This document was last updated July 15, 2009.