char
DDL 정보: CHAR(n)
C++ 정보: UdxBase::UDX_FIXED
struct StringArg
{
char* data;
int length; // Bytes used by string data (not characters).
int dec_length; // Character declared length ie NCHAR(20) = 20. Will
// also be set if VARCHAR or NVARCHAR.
};
struct StringReturn
{
char* data;
int size;
// On enter it is the size (in bytes) allocated for string data.
// On return it is the size (in bytes) actually used.
};
char 데이터에는 인수로 전달될 때 끝에 내재된 공백이 있습니다. 지정된 길이 및 dec_length 간의 차이는 다수의 후미 공백이 처리되어야 하는 방법을 표시합니다. 길이는 바이트 단위이고 dec_length는 문자 수입니다.