|
|
SET DESCRIPTOR
Set values in an SQL descriptor area.
where
set-item-informationis:Usage
Description
Fields values are assigned in the specified SQL descriptor area. The
SET DESCRIPTORstatement can be used in two forms. TheCOUNTform sets the number of active item descriptor areas for the specified SQL descriptor. TheVALUEform assigns SQL descriptor field values for the item descriptor area specified byitem-number.The
descriptor-nameis identified by a host variable or a literal.See GET DESCRIPTOR for a description of the descriptor fields.
Notes
The data type of the host variables must be compatible with the data type of the associated field name.
If an item descriptor area is specified for any field other than
DATA, theDATAfield becomes undefined.When the
TYPEfield is set, some of the other fields are implicitly set according to the table below:Example
exec sql SET DESCRIPTOR 'descrIn' VALUE :n TYPE = :type, LENGTH = :length;Standard Compliance
|
Mimer Information Technology AB Voice: +46 18 780 92 00 Fax: +46 18 780 92 40 info@mimer.se |
|
|