| Oracle® Fusion Middleware Oracle GoldenGateリファレンスfor Windows and UNIX 12c (12.2.0.1) E70112-04 |
|
![]() 前 |
![]() 次 |
適用対象
ExtractおよびReplicat
説明
GET_TABLE_COLUMN_COUNTファンクションでは、表内の列の合計数(キー列数を含む)を取得します。
構文
#include "usrdecs.h" short result_code; table_def table; ERCALLBACK (GET_TABLE_COLUMN_COUNT, &table, &result_code);
バッファ
typedef struct
{
short num_columns;
short source_or_target;
/* Version 2 CALLBACK_STRUCT_VERSION */
short num_key_columns;
} table_def;
返される値
EXIT_FN_RET_INVALID_CONTEXT EXIT_FN_RET_INVALID_PARAM EXIT_FN_RET_OK