云数据库 GAUSSDB-DESCRIBE:示例

时间:2024-11-13 14:46:43

示例

EXEC SQL ALLOCATE DESCRIPTOR mydesc;
EXEC SQL PREPARE stmt1 FROM :sql_stmt;
EXEC SQL DESCRIBE stmt1 INTO SQL DESCRIPTOR mydesc;
EXEC SQL GET DESCRIPTOR mydesc VALUE 1 :charvar = NAME;
EXEC SQL DEALLOCATE DESCRIPTOR mydesc;
support.huaweicloud.com/centralized-devg-v8-gaussdb/gaussdb-42-0227.html