Skip to Content.
Sympa Menu

freetds - Re: get NULL

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Brian Bruns <camber AT ais.org>
  • To: TDS Development Group <freetds AT franklin.oit.unc.edu>
  • Subject: Re: get NULL
  • Date: Mon, 13 Nov 2000 20:12:09 -0500 (EST)



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
>




  • get NULL, Nil Alexandrov, 11/10/2000
    • <Possible follow-up(s)>
    • Re: get NULL, Brian Bruns, 11/10/2000
    • Re: get NULL, Nil Alexandrov, 11/13/2000
    • Re: get NULL, Nil Alexandrov, 11/13/2000
    • Re: get NULL, Brian Bruns, 11/13/2000

Archive powered by MHonArc 2.6.24.

Top of Page