get NULL

Brian Bruns camber at ais.org
Mon Nov 13 20:12:09 EST 2000



How indeed? It is impossible to store '' in the database (Try and find
out). non-null varchars must be at least 1 character in length.  Neat eh?

As for integer types, all nullable int types are stored as INTN regardless
of their size.

Brian

On Mon, 13 Nov 2000, Nil Alexandrov wrote:

> Hello !

> 
> On Fri, 10 Nov 2000, Brian Bruns wrote:
> 
> > > 1). How to transmit NULL value in TDS_ROW_TOKEN ?
> 
> > TDS_ROW_TOKEN passes var cols as a size and then the data.  If the size is
> > 0 the column is NULL.
> 
>    How to transmit char/varchar type value '' and value NULL ? I think it
> must be different.
>   
> 
> Best regards, Nil.
> E-Mail: nil at internet2.ru
> 




More information about the FreeTDS mailing list