云数据库 GAUSSDB-SET DESCRIPTOR:示例

时间:2024-11-02 18:50:24

示例

EXEC SQL SET DESCRIPTOR indesc COUNT = 1; 
EXEC SQL SET DESCRIPTOR indesc VALUE 1 DATA = 2; 
EXEC SQL SET DESCRIPTOR indesc VALUE 1 DATA = :val1; 
EXEC SQL SET DESCRIPTOR indesc VALUE 2 INDICATOR = :val1, DATA = 'some string'; 
EXEC SQL SET DESCRIPTOR indesc VALUE 2 INDICATOR = :val2null, DATA = :val2;
support.huaweicloud.com/centralized-devg-v3-gaussdb/gaussdb-12-0219.html