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

 

 

UPDATEINDEX

 

UPDATEINDEX table SET column-assignments [WHERE <predicate-list | CURRENT> [<ON / OF> [CURSOR] cursor]] [WITH options]

Update existing data in a database.

UPDATE ORDERS SET STATUS = 'SHIP' WHERE CUSTOMER_NO = 1001 AND STATUS = 'ORDR'

 

 

Syntax

Example

INSERTINDEX

DELETEINDEX

SQL Reference

Commands

Functions

 

Syntax

UPDATE table SET column-assignments [WHERE <predicate-list | CURRENT> [<ON / OF> [CURSOR] cursor]] [WITH options]

UPDATE

Required.

table

Required. The name of the table containing the data to be updated
column-assignments.

column-assignments

Required. A comma separated list of column name/new value pairs. (column-name = new-value, ...)

WHERE predicate-list | CURRENT

Optional. Provide a predicate-list to qualify specific rows to be updated or update only the CURRENT row. Caution! If omitted, ALL rows will be updated with the new values.

predicate-list - Criteria to determine which rows will be updated.

CURRENT - Update only the current row.

[ON [CURSOR] cursor]

Optional. The cursor on which to perform the delete. If omitted, the delete will be performed on the current cursor.

[WITH options]

Optional. A comma separated list of options to use when performing the update.

top

 

Example

 

 

 

top

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

DISC | Documentation Home