云数据库 GAUSSDB-SET DESCRIPTOR:示例

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

示例

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-v8-gaussdb/gaussdb-42-0235.html