새로운 CCI_A_TYPE_SET type의 set을 만든다. 만들어진 set은 cci_bind_param()을 통해 CCI_A_TYPE_SET으로 서버에 전달된다. cci_set_make()에 의해 만들어진 set은 반드시 cci_set_free()를 통해 사용된 메모리를 제거해야 한다. u_type에 대한 value의 타입은 다음과 같다.
u_type |
value 타입 |
---|---|
CCI_U_TYPE_CHAR |
char** |
CCI_U_TYPE_STRING |
char** |
CCI_U_TYPE_NCHAR |
char** |
CCI_U_TYPE_VARNCHAR |
char** |
CCI_U_TYPE_BIT |
T_CCI_BIT* |
CCI_U_TYPE_VARBIT |
T_CCI_BIT* |
CCI_U_TYPE_NUMERIC |
char** |
CCI_U_TYPE_INT |
int* |
CCI_U_TYPE_SHORT |
int* |
CCI_U_TYPE_MONETARY |
Double* |
CCI_U_TYPE_FLOAT |
float* |
CCI_U_TYPE_DOUBLE |
Double* |
CCI_U_TYPE_DATE |
T_CCI_DATE* |
CCI_U_TYPE_TIME |
T_CCI_DATE* |
CCI_U_TYPE_TIMESTAMP |
T_CCI_DATE* |
CCI_U_TYPE_OBJECT |
char** |
CCI_U_TYPE_BIGINT |
int64_t* (Windows는 __int64*) |
CCI_U_TYPE_DATETIME |
T_CCI_DATE* |
intcci_set_make(T_CCI_SET *set, T_CCI_U_TYPE u_type, int size, void *value, int *indicator)