Scalable Database Server, HiRDB Version 8 SQL Reference
DESCRIBE CURSOR statement (Receive cursor retrieval information)
Function
Receives cursor query retrieval item information for referencing the result set returned from a procedure into the SQL descriptor area (data code, data length, etc.).
For details about the information to be received, see the HiRDB Version 8 UAP Development Guide.
Privileges
None.
Format 1: Receiving cursor retrieval item information
DESCRIBE [OUTPUT] CURSOR extended-cursor-name STRUCTURE INTO
[:] SQL-descriptor-area
|
Operands
For operands other than the CURSOR extended-cursor-name STRUCTURE operand, see DESCRIBE statement Format 1.
Common rules
Example
CALL PROC1() ALLOCATE GLOBAL :cr FOR PROCEDURE PROC1 DESCRIBE CURSOR GLOBAL :cr STRUCTURE INTO :SQLDA
All Rights Reserved. Copyright (C) 2007, Hitachi, Ltd.