This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
programs:odxsql:home [2010/07/03 23:36] tdo |
programs:odxsql:home [2012/10/26 14:51] (current) |
||
|---|---|---|---|
| Line 3: | Line 3: | ||
| ~~NOTOC~~ | ~~NOTOC~~ | ||
| ====== OdxSQL Quick Reference ====== | ====== OdxSQL Quick Reference ====== | ||
| - | {{page>:odxsql_bar&nofooter&noeditbtn}} | + | {{page>:sql_odxsql_bar&nofooter&noeditbtn}} |
| ^ Command Line Options ^ Description ^ | ^ Command Line Options ^ Description ^ | ||
| | odxsql | Run OdxSQL. Use the CONNECT command to connect to an Omnidex Environment | | | odxsql | Run OdxSQL. Use the CONNECT command to connect to an Omnidex Environment | | ||
| Line 11: | Line 11: | ||
| | odxsql -? | Displays OdxSQL command line options | | | odxsql -? | Displays OdxSQL command line options | | ||
| | odxsql -use scriptfile | Run OdxSQL and read and process the scriptfile of OdxSQL Statements and Commands.| | | odxsql -use scriptfile | Run OdxSQL and read and process the scriptfile of OdxSQL Statements and Commands.| | ||
| - | ^Set Command ^Description ^ | + | ^Set Command ^ ^ |
| |SET| Shows the current settings. | | |SET| Shows the current settings. | | ||
| |SET ? | Shows the list of available SET options. | | |SET ? | Shows the list of available SET options. | | ||
| - | |SET TERMINATION OFF|Will Automatically terminate SQL Statements.| | + | |SET TERMINATION OFF|Will process SQL Statements without requiring a semi-colon terminator.| |
| - | ^ Help/Show ^Description^ | + | |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|Shows a list of OdxSQL commands and SQL Statements.| | ||
| |HELP <command>|Provides specific help on the specified command or SQL Statement.| | |HELP <command>|Provides specific help on the specified command or SQL Statement.| | ||
| Line 22: | Line 23: | ||
| ^Editing^ ^ | ^Editing^ ^ | ||
| |EDIT| Launch editor and send current SQL Statement to either Windows Notedpad or UNIX/Linux vi or emacs. | | |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.| | + | |SET EDITOR <filespec>|Change the default editor. Can also be NOTEPAD, WORDPAD, VI or EMACS.| |
| |EDIT filespec|Typically used to edit a script file and then use the USE file to run the script.| | |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|. | |EDIT n|Edits the command in the Command History Stack|. | ||
| ^Other Commands^ ^ | ^Other Commands^ ^ | ||
| |HISTORY|Shows a numbered list of previously entered commands.| | |HISTORY|Shows a numbered list of previously entered commands.| | ||
| - | |number|Execute the numbered command from the Command History Stack.| | + | |<command_number>|Execute the numbered command from the Command History Stack.| |
| - | |Period(.)|Execute the last command.| | + | |Period (.)|Execute the last command.| |
| + | |Comment (;) | A semi-colon as the first character causes the rest of the line to be a comment. | | ||
| |USE <filespec>|Processes the OdxSQL commands in a script file.| | |USE <filespec>|Processes the OdxSQL commands in a script file.| | ||
| + | |SET ERRORS | Sets how errors will be handled when processing a USE file. | | ||
| + | |EXPLAIN|Shows the Explain Plan for the previous SELECT Statement.| | ||
| + | |SET AUTOEXPLAIN ON|Automatically show the Explain Plan instead of the SELECT output.| | ||
| + | |SET EXPLAIN |Sets options for the Explain Plan. | | ||
| + | ^ OdxSQL Settings ^ ^ ^ ^ ^ ^ | ||
| + | |API |AUTODISPLAY |AUTOEXPLAIN |AUTOFETCH |AUTOPSEUDOCOLUMNS |AUTORECONNECT| | ||
| + | |AUTOSUBPROCESS|CHAR|CURSOR|CURSORDISPLAY|DEFAULTS|EDITOR| | ||
| + | |ENDIAN |ERRORDISPLAY|ERRORS|EXPLAIN SET|FILE_BASELINE|HEADERS| | ||
| + | |HEX|HISTORY|INTERRUPTS|MEMORY_BASELINE|MULTICONNECT|MULTILINE| | ||
| + | |NULL_INDICATORS|OMNIDEX_DEBUG|OPTIMIZATION|ODXSQL_DEBUG|PAGELENGTH|PAGEWIDTH| | ||
| + | |PREPROCESSOR|PROGRESS|PROMPT|PSEUDOCOLUMNS|QUALIFY_COUNTS|REDEFROWIDS| | ||
| + | |REQUIRED_OPTIMIZATION|SILENT_MODE|SQL_LOGFILE|SQL_LOGGING|SQL_SYNTAX|STATISTICS| | ||
| + | |STATISTICS_COMMENT|STATUSDISPLAY|TERMINATION|TIMEOUT|TIMER| | ||
| - | {{page>:bottom_add&nofooter&noeditbtn}} | ||