Skip to Content.
Sympa Menu

freetds - Re: [freetds] SELECT '' and TDS 7.0

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Frediano Ziglio <freddyz77 AT tin.it>
  • To: FreeTDS <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] SELECT '' and TDS 7.0
  • Date: 27 Jan 2003 20:43:23 +0100

Il lun, 2003-01-27 alle 18:43, Craig Davison ha scritto:
> > On Mon, Jan 27, 2003 at 04:08:53PM +0100, ZIGLIO Frediano wrote:
> > > Problem is difference from an empty string and NULL. In TDS 4.2 when you
> > > issue a "SELECT ''" a single space is returned (' '). This cause a NULL
> > > string is represented as a empty string. TDS7 remove this limit allowing
> > > empty string (NULL is now a string of length -1, not 0).
> > > I don't remember if this was fixed in 0.60 or later...
> >
>
> Looks like it's fixed in CVS.

Thanks.
I also added a test (in t0007.c) for future release..

freddy77






Archive powered by MHonArc 2.6.24.

Top of Page