DISC

Contents | What's New | Quick Links

 

SET Options

Introduction

Software Installation

Concepts and Design

Designing Applications

Omnidex Environments

SQL Reference

Omnidex API's

Utilities

Interfaces

Performance Guide

Troubleshooting Guide

Appendix

 

 

AUTOFETCH

 

SET AUTOFETCH <ON | OFF>

By default, OdxSQL will automatically fetch and display rows qualified in a SQL SELECT statement. This behavior can be turned on and off with the AUTOFETCH set option.

If AUTOFETCH is set to OFF, a SQL select statement must be followed by a FETCH command to actually retrieve and display the data, an EXPORT command to export the data to a file, or another command like ASSIGNVALUES.

AUTOFETCH must be set to OFF if using ASSIGNVALUES, DESCRIBE, or BIND.

Related Links

Related Links

ODXSQL Example

> set autofetch off
> select company, contact from customers where state='co'
Select statement processed
> fetch all

COMPANY
---------------------------------------

CONTACT
-------------------

Dynamic Information Systems Corporation

Mark S. Trasko

Mobile Home Communities, Inc.

Donna Tague

Granville-Phillips Company

Karen Lawson

Fred Schmid TV and Appliances

Tim Schneider

...

 

 

top

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

DISC | Documentation Home