云数据库 GAUSSDB-DESCRIBE:示例

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

示例

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/distributed-devg-v8-gaussdb/gaussdb-12-0185.html