Progress
Embedded SQL-92
Guide and Reference


BINARY Data Type

The BINARY data type corresponds to a bit field of the specified length of bytes. The default length is 1 byte. The maximum length is 2000 bytes.

BINARY data can be assigned and compared to and from columns of type BIT, CHAR, and VARBINARY types. Arithmetic operations are not allowed. The database representation and the host language representation for the BINARY data type is the following C Language structure:

typedef struct {
     long  tb_len ;
     unsigned char  tb_data[TPE_MAX_FLDLEN+1] ;
} tpe_binary_t ; 


Copyright © 2004 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095