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
dev:sql:set [2009/11/30 19:19]
tdo
— (current)
Line 1: Line 1:
-{{page>:​top_add&​nofooter&​noeditbtn}} 
-<​html><​div align="​center"><​span style="​color:​red">​DRAFT</​span></​div></​html>​ 
  
-====== Omnidex SQL: ====== 
-===== Description ===== 
-===== Syntax ===== 
-        SET DEBUG … 
- SET OPTIMIZATION … 
- SET REQUIRED_OPTIMIZATION 
- SET CHAR … 
- SET TIMEOUT … 
- SET REDEFROWIDS …  
- SET PSEUDOCOLUMNS … 
- SET QUALIFY_MODE … 
- SET AUTOPSEUDOCOLUMNS … 
- SET PREPROCESSOR … 
- SET SQL_LOGGING … 
- SET SQL_LOGFILE … 
- 
- 
-The syntaxes of the SQL Logging SET commands are shown below: 
- 
-    set sql_logging <on | off> ​ 
- 
-This command activates SQL Logging for this process. ​ By default, statements are logged to the $SQL_STATEMENTS file along with statistics about the execution of the command. ​ The $SQL_STATEMENTS file is named “sqllog.tdf”,​ and is located in the same directory as the compiled environment file.  This file is a standard tab-delimited file, and may be easily imported into other applications. ​ The file may be flushed by simply removing the file; the file will be automatically recreated the next time logging is activated. 
- 
-    set sql_logfile <​filename>​ 
- 
-This command redirects the SQL logging for this process to a text file that only contains the statement, and does not contain any statistical information. ​ If the file already exists, it will be appended to rather than overwritten. 
- 
- 
-  
- 
-===== Discussion ===== 
- 
-== arg1 == 
- 
-== arg2 == 
- 
-===== Examples ===== 
- 
-==== Simple ==== 
- 
-==== 2nd example ==== 
- 
-{{page>:​bottom_add&​nofooter&​noeditbtn}} 
 
Back to top
dev/sql/set.1259608763.txt.gz · Last modified: 2012/10/26 14:25 (external edit)