결과 집합 직렬화
구문
%%{init: {
'theme': 'base',
'flowchart': { 'padding': '7', 'nodeSpacing': '20', 'rankSpacing': '20' },
'themeVariables': {
'fontSize': '11px',
'fontFamily': 'Arial'
}
}}%%
flowchart LR
stmt_start((START))
stmt_start --> stmt_0_0[RESULT_SET_SERIALIZATION]:::quoted
stmt_0_0 --> stmt_0_1["("]:::quoted
stmt_0_1 --> stmt_0_2[SHOW]:::quoted
stmt_0_1 --> stmt_0_3[HIDE]:::quoted
stmt_0_3 --> stmt_0_4[")"]:::quoted
stmt_0_2 --> stmt_0_4
stmt_0_4 --> stmt_end((END))
result_set_serialization 힌트는 결과 집합의 메타데이터에 결과 집합을 직렬화해야 한다는 힌트를 추가하며, 이는 Invantive Data Access Point와 같은 처리 소프트웨어를 위한 것입니다. 기본값은 show입니다.
예시
실행 중인 Invantive Data Access Point 프리셋의 JSON 응답에는 쿼리 결과가 반환되지 않습니다:
select /*+ result_set_serialization(hide) */ count(*)
from MyCustomersTable@postgresql