Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
programs:odxsql:settings:home [2009/12/03 03:25]
tdo
programs:odxsql:settings:home [2012/10/26 14:28] (current)
Line 1: Line 1:
 {{page>:​top_add&​nofooter&​noeditbtn}} {{page>:​top_add&​nofooter&​noeditbtn}}
 <​html><​div align="​center"><​span style="​color:​red">​DRAFT</​span></​div></​html>​ <​html><​div align="​center"><​span style="​color:​red">​DRAFT</​span></​div></​html>​
 +~~NOTOC~~
 ====== OdxSQL Settings ====== ====== OdxSQL Settings ======
 +{{page>:​odxsql_bar&​nofooter&​noeditbtn}}
  
-text+OdxSQL'​s operation is controlled by several settings. ​ These settings can be dynamically changed by using the OdxSQL SET Command.
  
-text+To see OdxSQL'​s current settings, issue the SET Command without any arguments.
  
-text+  > SET 
 +===== OdxSQL All Settings in Alphabetical Order =====
  
- +^ Setting ^ Default ^ Other Options ​^   ​Description ​  ^  
-^ Setting ^...... Option ...... ​^   ​Description ​  ^  +| [[API]] | OA | ODBC %%|%% JDBC %%|%% CLOA |Sets which API to use before the first CONNECT Statement. ​| 
-| [[API]] | <OA ! CLOA ! ODBC ! JDBC>| | +| [[AUTODISPLAY]] | LIST | FORM| Sets Columns across (LIST) or Columns stacked (FROM). ​| 
-| [[AUTODISPLAY]] | <LIST ! FORM>| | +| [[AUTOEXPLAIN]] | OFF | ON %%|%% AFTER | Shows the Explain Plan for the SELECT statement instead of processing the SELECT. ​| 
-| [[AUTOEXPLAIN]] | <ON ! OFF ! AFTER>| | +| [[AUTOFETCH]] | ON | OFF| Automatically fetch records after a SELECT or QUALIFY. ​| 
-| [[AUTOFETCH]] | <ON ! OFF>| | +| [[AUTOPSEUDOCOLUMNS]] | OFF | ON| | 
-| [[AUTOPSEUDOCOLUMNS]] | <ON ! OFF>| | +| [[AUTORECONNECT]] | OFF | ON| | 
-| [[AUTORECONNECT]] | <ON ! OFF>| | +| [[AUTOSUBPROCESS]] | NONE | n | | 
-| [[AUTOSUBPROCESS]] | <n | NONE> ​| +| [[CHAR]] | AUTO | n| | 
-| [[CHAR]] | <AUTO ! n>| | +| [[CONTINUATION]] | ON | OFF| When ON automatically terminates statements. ​| 
-| [[CONTINUATION]] | <ON ! OFF>| | +| [[CURSOR]] ​| last opened ​| n | Sets the default Cursor to use for processing. ​| 
-| [[CURSOR]] | n| | +| [[CURSORDISPLAY]] | OFF | ON| The cursor number being used can be set to automatically display. ​| 
-| [[CURSORDISPLAY]] | <ON ! OFF>| | +| [[DEFAULTS]] | <​none> ​| <​none>​ | Resets all settings to their initial defaults. ​| 
-| [[DEFAULTS]] | | | +| [[EDITOR]] | NOTEPAD ​or vi  | WORDPAD ​%%|%% EMACS %%|%% path | Sets which editor to use with the EDIT Command ​| 
-| [[EDITOR]] | <NOTEPAD ​! WORDPAD ​! VI ! EMACS ! path> | | +| [[ENDIAN]] | LITTLE ​| BIG %%|%% NATIVE ​%%|%% OPPOSITE | | 
-| [[ENDIAN]] | <LITTLE ​! BIG ! NATIVE ​! OPPOSITE> | | +| [[ERRORDISPLAY]] | MESSAGE ​| NONE %%|%% DETAIL ​%%|%% FULL | | 
-| [[ERRORDISPLAY]] | <NONE ! MESSAGE ​! DETAIL ​! FULL> | | +| [[ERRORS]] | ABORT | CONTINUE ​%%|%% EXIT | Set processing of USE file. | 
-| [[ERRORS]] | <ABORT ! CONTINUE ​! EXIT> | | +| [[EXPLAIN]] | SUMMARY DETAILS ADDIN |[NO]COUNTS %%|%% TEXT |Sets the EXPLAIN Command options. ​| 
-| [[EXPLAIN]] | | <​[NO]COUNTS![NO]SUMMARY![NO]DETAILS![NO]ADDIN![NO]TEXT |  +| [[ FILE_BASELINE]] ​| OFF | | | 
-| [[FILE_BASELINE]] | | | +| [[ HEADERS]] | ON | OFF | Turn the Column Headers ON or OFF.s| 
-| [[HEADERS]] | <ON ! OFF>| | +| [[ HEX]] | OFF | ON %%|%% ONLY | Set the display of output values in HEX | 
-| [[HEX]] | <ON ! OFF ! ONLY>| | +| [[ HISTORY]] ​| 100 | n |Sets the size of the Command History stack. ​| 
-| [[HISTORY]] |n| | +| [[ INSTANCE]] ​| last connection ​| n | Sets the default Instance to use for processing. ​| 
-| [[INSTANCE]] |n| | +| [[ INTERRUPTS]] |ON | OFF %%|%% API| | 
-| [[INTERRUPTS]] |<ON ! OFF ! API>| | +| [[ MEMORY_BASELINE]] ​| OFF | | | 
-| [[MEMORY_BASELINE]] | | | +| [[ MULTILINE]] | OFF |ON %%|%% n | | 
-| [[MULTILINE] |<ON ! OFF ! n> | | +| [[ NULL_INDICATORS]] | OFF | ON %%|%% string| | 
-| [[NULL_INDICATORS |<​ON ​! OFF ! string>| | +| [[ ODXSQL_DEBUG]] | | <PARSE %%|%% FILE %%|%% DEBUG %%|%% ALL> ​<​ON ​%%|%% OFF> | | 
-| [[OMNIDEX_DEBUG |<ON ! OFF ! profile> [FILE=filename] | | +| [[ OMNIDEX_DEBUG]] | OFF | ON %%|%% profile [FILE=filename] | | 
-| [[OPTIMIZATION |options| | +| [[ OPTIMIZATION]] | DEFAULT ​|options| |  
-| [[ODXSQL_DEBUG ​|<PARSE ! FILE ! DEBUG ! ALL> <ON ! OFF>| | +| [[ ODXNET]] | INACTIVE ​| | | 
-| [[PAGELENGTH |n| | +| [[ PAGELENGTH]] | 24 | n | Set the page length before the paging prompt is issued.| 
-| [[PAGEWIDTH |n| | +| [[PAGEWIDTH]] | 80 | n | Sets the page width of the display. ​| 
-| [[PREPROCESSOR |<ON ! OFF>| | +| [[PREPROCESSOR]] | ON |OFF| Can disable the use of the Omnidex SQL Preprocessor. Use only for testing. ​| 
-| [[PROGRESS |<ON ! OFF>| | +| [[PROGRESS]] |OFF | ON| | 
-| [[PROMPT |["​string"​] [WITH [FILE] [LINE] [COMMAND] | | +| [[PROMPT]] | "> " ​| "​string"​ [WITH [FILE] [LINE] [COMMAND]] |Sets the OdxSQL command prompt. ​| 
-| [[PSEUDOCOLUMNS |<ON ! OFF>| | +| [[PSEUDOCOLUMNS]] |ON | OFF | | 
-| [[QUALIFY_COUNTS | <PARENT ​! NOPARENT>| | +| [[QUALIFY_COUNTS]] | PARENT ​| NOPARENT| | 
-| [[QUALIFY_MODE | <PARSER ​! ODXFIND ​! OX_FIND>| | +| [[QUALIFY_MODE]] | PARSER ​| ODXFIND ​%%|%% OX_FIND | Changes the Qualify Mode to internal routines. ​| 
-| [[REDEFROWIDS | <ON ! OFF>| | +| [[REDEFROWIDS]] | ON | OFF | | 
-| [[REQUIRED_OPTIMIZATION |options| | +| [[REMOTE_HOST]] | NONE | | | 
-| [[SILENT_MODE |<ON ! OFF>| | +| [[REQUIRED_OPTIMIZATION]] | NONE |options| | 
-| [[SQL_LOGFILE |filename| | +| [[SILENT_MODE]] | OFF | ON | | 
-| [[SQL_LOGGING |<ON ! OFF> [WITH options|] | +| [[SQL_LOGFILE]] | DEFAULT ​| filename| | 
-| [[STATISTICS |<ON ! OFF ! filename>| | +| [[SQL_LOGGING]] | OFF | ON [WITH options] ​|  ​| 
-| [[STATISTICS_COMMENT | "​string"​| | +| [[STATISTICS]] | OFF | ON %%|%% filename | | 
-| [[STATUSDISPLAY |<ON ! OFF>| | +| [[STATISTICS_COMMENT]] | none| "​string"​| | 
-| [[TIMEOUT |<seconds ​! OFF>| | +| [[STATUSDISPLAY]] | OFF | ON | | 
-| [[TIMER |<ON ! CUMULATIVE ​! OFF>​] ​| |+| [[TIMEOUT]] | OFF | seconds | | 
 +| [[TIMER]] | OFF | ON %%|%% CUMULATIVE |Shows the CPU and Elapsed time of SELECT and QUALIFY statements. ​| 
 + 
    
  
-===== OdxSQL Default Settings ===== 
- 
-<​code>​ 
-> set 
- 
-Current settings: 
-  API                   OA 
-  AUTODISPLAY ​          LIST 
-  AUTOEXPLAIN ​          OFF 
-  AUTOFETCH ​            ON 
-  AUTOPSEUDOCOLUMNS ​    OFF 
-  AUTORECONNECT ​        OFF 
-  AUTOSUBPROCESS ​       NONE 
-  CHAR                  AUTO 
-  CONTINUATION ​         ON 
-  CURSOR ​               0 
-  CURSORDISPLAY ​        OFF 
-  EDITOR ​               DEFAULT 
-  ENDIAN ​               LITTLE 
-  ERRORDISPLAY ​         MESSAGE 
-  ERRORS ​               ABORT 
-  EXPLAIN ​              ​NOCOUNTS SUMMARY DETAILS ADDIN NOTEXT 
-  FILE_BASELINE ​        OFF 
-  HEADERS ​              ON 
-  HEX                   OFF 
-  HISTORY ​              100 
-  INSTANCE ​             0 
-Press <​RETURN>​ to continue or '/'​ to stop paging ... 
-  INTERRUPTS ​           ON (currently armed) 
-  MEMORY_BASELINE ​      OFF 
-  MULTILINE ​            OFF 
-  NULL_INDICATORS ​      OFF 
-  ODXNET ​               INACTIVE 
-  OMNIDEX_DEBUG ​        OFF 
-  OPTIMIZATION ​         DEFAULT 
-  PAGELENGTH ​           24 
-  PAGEWIDTH ​            80 
-  PREPROCESSOR ​         ON 
-  PROGRESS ​             OFF 
-  PROMPT ​               "> " 
-  PSEUDOCOLUMNS ​        ON 
-  QUALIFY_COUNTS ​       PARENT 
-  QUALIFY_MODE ​         PARSER 
-  REDEFROWIDS ​          ON 
-  REMOTE_HOST ​          NONE 
-  REQUIRED_OPTIMIZATION NONE 
-  SILENT_MODE ​          OFF 
-  SQL_LOGFILE ​          ​DEFAULT 
-  SQL_LOGGING ​          OFF 
-  STATISTICS ​           OFF 
-  STATUSDISPLAY ​        OFF 
-Press <​RETURN>​ to continue or '/'​ to stop paging ... 
-  TIMEOUT ​              OFF 
-  TIMER                 OFF 
-</​code>​ 
  
 ====== OdxSQL SET Commands ====== ====== OdxSQL SET Commands ======
Line 127: Line 77:
   set pagelength 0   set pagelength 0
   set timer on   set timer on
-  SET STATISTICS +  SET STATISTICS ​on 
-  ​ET STATISTICS_COMMENT +  ​
- +
-===== SET STATISTICS ===== +
- +
-The SET STATISTICS command in ODXSQL has been expanded to track more information,​ including the process ID and the thread ID.  As well, a new command called SET STATISTICS_COMMENT  +
- +
- +
- +
- +
- +
- +
- +
- +
- +
- +
- +
- +
- +
- +
- +
- +
- +
- +
- +
-{{page>:​bottom_add&​nofooter&​noeditbtn}}+
 
Back to top
programs/odxsql/settings/home.1259810753.txt.gz · Last modified: 2012/10/26 14:27 (external edit)