SET DESCRIPTOR Statement [ESQL]

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

Syntax

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

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

Parameters

Examples

Standards

  • SQL—ISO/ANSI SQL compliant.

  • Sybase—Supported by Open Client/Open Server.

Permissions

None

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