[freetds] New Sybase datatype?

ZIGLIO, Frediano, VF-IT Frediano.Ziglio at vodafone.com
Thu Mar 15 11:06:56 EDT 2007


> 
> Damn... missed that.  Thanks, enormously!
> I assume that DATEN is like INTN: the format specifies
> a maximum size, but the data can have any "appropriate
> size" (for the type) up toi that maximum (0,1,2,4,8
> for INT).
> 
> Thanks again.  Sorry I didn't catch it earlier.
> 

No, usually it specify not-nullable size and then specify 0 or
"declared" size.
For instance for smallint it return INTN with type size == 2 and data
size can be 0 or 2.

freddy77




More information about the FreeTDS mailing list