SET DESCRIPTOR Statement [ESQL]

Describes the variables in an SQL descriptor area, and places data into the descriptor area.

Quick Links:

Go to Parameters

Go to Examples

Go to Standards

Go to Permissions

Syntax

SET DESCRIPTOR descriptor-name
   … { COUNT = { integer | hostvar }
   | VALUE n assignment [, …] }

assignment
   { { TYPE 
   | SCALE 
   | PRECISION 
   | LENGTH 
   | INDICATOR } =  { integer 
   | hostvar } 
   | DATA = hostvar }

Parameters

(back to top)

Examples

(back to top)

Standards

(back to top)

  • SQL—ISO/ANSI SQL compliant.
  • SAP Sybase Database product—Supported by Open Client/Open Server.

Permissions

(back to top)

None

Related reference
ALLOCATE DESCRIPTOR Statement [ESQL]
DEALLOCATE DESCRIPTOR Statement [ESQL]