statement stInner(sql);
statement stOuter = (sql.prepare <<
"select cursor(select name from soci_test order by id)"
" from soci_test where id = 1",
into(stInner));
stInner.exchange(into(name));
stOuter.execute();
stOuter.fetch();
遇到错误:
错误:无法准备语句。错误:“选择”或附近的语法错误 第1行:选择游标(通过...从社会顺序中选择名称...