This shows you the differences between two versions of the page.
programs:odxsql:home [2010/07/04 01:21] tdo |
programs:odxsql:home [2016/06/28 22:38] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | {{page>:top_add&nofooter&noeditbtn}} | ||
- | <html><div align="center"><span style="color:red">DRAFT</span></div></html> | ||
- | ~~NOTOC~~ | ||
- | ====== OdxSQL Quick Reference ====== | ||
- | {{page>:sql_odxsql_bar&nofooter&noeditbtn}} | ||
- | ^ Command Line Options ^ Description ^ | ||
- | | odxsql | Run OdxSQL. Use the CONNECT command to connect to an Omnidex Environment | | ||
- | | odxsql env_filespec | Run OdxSQL and connect to the env_filespec. | | ||
- | | odxsql dsn_filespec -odbc |Run OdxSQL and connect to the ODBC File DSN using the Omnidex ODBC driver.| | ||
- | | odxsql env_filespec -odxnet -jdbc |Run OdxSQL and start an OdxNet background process and connect to the env_filespec using the Omnidex JDBC driver.| | ||
- | | odxsql -? | Displays OdxSQL command line options | | ||
- | | odxsql -use scriptfile | Run OdxSQL and read and process the scriptfile of OdxSQL Statements and Commands.| | ||
- | ^Set Command ^ ^ | ||
- | |SET| Shows the current settings. | | ||
- | |SET ? | Shows the list of available SET options. | | ||
- | |SET TERMINATION OFF|Will process SQL Statements without requiring a semi-colon terminator.| | ||
- | |SET TIMER ON|Useful to show how long a statement takes to process.| | ||
- | ^ Help/Show ^ ^ | ||
- | |HELP|Shows a list of OdxSQL commands and SQL Statements.| | ||
- | |HELP <command>|Provides specific help on the specified command or SQL Statement.| | ||
- | |SHOW <table>|Provides information on the specified table.| | ||
- | |SHOW ALL|Provides information on all tables.| | ||
- | ^Editing^ ^ | ||
- | |EDIT| Launch editor and send current SQL Statement to either Windows Notedpad or UNIX/Linux vi or emacs. | | ||
- | |SET EDITOR <filespec>|Change the default editor.| | ||
- | |EDIT filespec|Typically used to edit a script file and then use the USE file to run the script.| | ||
- | |EDIT n|Edits the command in the Command History Stack|. | ||
- | ^Other Commands^ ^ | ||
- | |HISTORY|Shows a numbered list of previously entered commands.| | ||
- | |<command_number>|Execute the numbered command from the Command History Stack.| | ||
- | |Period(.)|Execute the last command.| | ||
- | |USE <filespec>|Processes the OdxSQL commands in a script file.| | ||
- | |EXPLAIN|Shows the Explain Plan for the previous SELECT Statement.| | ||
- | |SET AUTOEXPLAIN ON|Automatically show the Explain after a SELECT Statement.| | ||
- | |||
- | {{page>:bottom_add&nofooter&noeditbtn}} |