DISC

Contents | What's New | Quick Links

 

SQL Commands

Introduction

Software Installation

Concepts and Design

Designing Applications

Omnidex Environments

SQL Reference

Omnidex API's

Utilities

Interfaces

Performance Guide

Troubleshooting Guide

Appendix

 

 

SET

 

SET [options | ?]

The SET command allows the setting of options to help control the way in which SQL statements are processed. It is also useful with the OdxSQL utility to aid in application prototyping, benchmarking, and testing.

A SQL SET statement can be passed in OdxSql or in a JDBC or ODBC CLI application in the same manner as any other SQL statement that does not return a result data set.

SET options are divided into two categories: Options available to all applications and options available only in the OdxSQL utility.

 

Related Links

Related Links

Syntax

SET [options | ?]

SET

Required

options

Optional. A comma separated list of options to be applied to the current application.

?

ODXSQL Only. Optional. Enter a ? (question mark) to display a list of available set options.
Or, enter SET with no arguments to display a list of current settings.

 

top

 

Options

SET Options Available to All Applications (Including ODXSQL)

Click for more information about this optionAUTOSPEUDOCOLUMNS
Click for more information about this optionCHAR
Click for more information about this optionDEBUG
Click for more information about this optionOPTIMIZATION
Click for more information about this optionPREPROCESSOR
Click for more information about this optionPSEUDOCOLUMNS
Click for more information about this optionREDEF_ROWIDS
Click for more information about this optionREQUIRED_OPTIMIZATION
Click for more information about this optionTIMEOUT

SET Options available only in ODXSQL

Click for more information about this optionAUTODISPLAY
Click for more information about this optionAUTOEXPLAIN
Click for more information about this optionAUTOFETCH
Click for more information about this optionCURSOR
Click for more information about this optionCURSORDISPLAY
Click for more information about this optionDEFAULTS
Click for more information about this optionEDITOR
Click for more information about this optionENDIAN
Click for more information about this optionERRORDISPLAY
Click for more information about this optionERRORS
Click for more information about this optionEXPLAIN
Click for more information about this optionHEX
Click for more information about this optionHISTORY
Click for more information about this optionINSTANCE
Click for more information about this optionINTERRUPTS
Click for more information about this optionNULL_INDICATORS
Click for more information about this optionODXSQL_DEBUG
Click for more information about this optionPAGELENGTH
Click for more information about this optionPAGEWIDTH
Click for more information about this optionPROMPT
Click for more information about this optionTIMER
Click for more information about this optionQUALIFY_COUNTS

 

OdxSQL Example

Use SET to display cursor and instance numbers:

>SET CURSORDISPLAY ON

>OPEN CURSOR
Opened cursor 2

>SET DEFAULTS
All settings are returned to their defaults

>

 

 

top

Dynamic Information Systems Corporation - Omnidex Version 3.8 Build 6 J15.03-Copyright © 2003

DISC | Documentation Home