Differences

This shows you the differences between two versions of the page.

Link to this comparison view

programs:odxsql:cmdline [2015/06/10 22:54]
doc created
programs:odxsql:cmdline [2016/06/28 22:38]
Line 1: Line 1:
-{{page>:​top_add&​nofooter&​noeditbtn}} 
-~~NOTOC~~ 
- 
-====== Programs: OdxSQL ====== 
- 
-[[programs:​odxsql:​home|Overview]] | [[programs:​odxsql:​commands|Commands]] | [[programs:​odxsql:​options|Options]] | **[[programs:​odxsql:​cmdline|Command-line]]** | [[programs:​odxsql:​files|Command Files]] ​ 
- 
- 
----- 
- 
- 
-===== Command line ===== 
- 
-OdxSQL can be run with command-line options that determine how OdxSQL is to be run.  Combinations of these options can also be used to instruct OdxSQL to execute one or more commands and then exit, making it possible to embed all instructions in a shell script. 
- 
-==== Syntax ==== 
- 
-The syntax for running OdxSQL is: 
- 
-<​code>​ 
-odxsql [environment] [options] 
-</​code>​ 
- 
-All options will begin with a hyphen. ​ An environment is any partially of fully-qualified filename, not prefixed with a hyphen. 
- 
-==== Options ==== 
- 
-The following command-line options can be passed to OdxSQL. 
- 
-=== -help === 
- 
-Display the command line options for OdxSQL. 
- 
-=== -version === 
- 
-Display the version of OdxSQL. 
- 
-=== -use=filename === 
- 
-Execute the commands contained in the named file.  If the -exit option is not provided, then OdxSQL will remain active after all commands have been processed. 
- 
-=== -cmd='​cmd1;​cmd2'​ === 
- 
-Execute the commands in the order that they appear, separated by semicolons. ​ If the -exit option is not provided, then OdxSQL will remain active after all commands have been processed. 
- 
-=== -exit === 
- 
-Exit OdxSQL after all statements have been processed. 
- 
-=== -exit_on_error === 
- 
-Exit OdxSQL if an error occurs while processing the statements. 
- 
-=== -nobanner === 
- 
-Do not display the OdxSQL banner. 
- 
-=== -odbc === 
- 
-Intialize OdxSQL with the ODBC client interface so that all commands will be processed using ODBC. 
- 
-=== -jdbc === 
- 
-Intialize OdxSQL with the JDBC client interface so that all commands will be processed using JDBC. 
- 
-===== ===== 
- 
-**[[programs:​odxsql:​options|Prev]]** | **[[programs:​odxsql:​files|Next]]** |  
- 
-====== Additional Resources ====== 
- 
-See also:  
- 
-{{page>:​programs:​see_also&​nofooter&​noeditbtn}} 
- 
-{{page>:​bottom_add&​nofooter&​noeditbtn}} 
  
 
Back to top
programs/odxsql/cmdline.txt ยท Last modified: 2016/06/28 22:38 (external edit)