freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
- From: "Ruslan R. Laishev" <Laishev AT SMTP.DeltaTel.RU>
- To: TDS Development Group <freetds AT franklin.oit.unc.edu>
- Subject: Re: Catch a Null value
- Date: Tue, 26 Sep 2000 19:35:29 +0400
Hi Kevin!
I just checked it , hmmm, it realy works!
Thanks for quick answer!
Kevin Lyons wrote:
>
> "Ruslan R. Laishev" wrote:
> >
> > Hi All!
> > Still have a question:"how to catch null values" ?
> > Is there someone from developers at all ?
> >
> > Ruslan R. Laishev wrote:
> > >
> > > Hi All!
> > > Is there any flag in the TDSCOLINFO which shows the Null value ?
>
> There is, in the tds layer, a function called tds_get_null that returns
> 1 if the column is NULL, 0 if otherwise.
>
> Example:
> if (tds_get_null(tds->res_info->current_row, col) == 1) {
> /* we've got a null value so handle accordingly */
> ...
> }
>
> --
> Give a man a fire and he's warm for one night, but set a man on fire and
> he's
> warm for the rest of his life." - Terry Pratchett "Jingo"
>
> ---
> You are currently subscribed to freetds as: [Laishev AT SMTP.DeltaTel.RU]
> To unsubscribe, forward this message to $subst('Email.Unsub')
--
Cheers,
+OpenVMS [Sys|Net] HardWorker........................................+
Russia,Delta Telecom Inc, Cel: +7 (901) 971-3222
191119,St.Petersburg,Transportny per. 3 116-3222
Fax: +7 (812) 115-1099
+http://www.levitte.org/~rlaishev/ .......... SysMan rides HailStorm +
-
Catch a Null value,
Ruslan R. Laishev, 09/25/2000
- SYBDATETIMN, Ruslan R. Laishev, 09/25/2000
-
Message not available
- Re: SYBDATETIMN, Ruslan R. Laishev, 09/26/2000
- <Possible follow-up(s)>
- Re: Catch a Null value, Ruslan R. Laishev, 09/26/2000
- Re: Catch a Null value, Kevin Lyons, 09/26/2000
- Re: Catch a Null value, Ruslan R. Laishev, 09/26/2000
- Re: Catch a Null value, Kevin Lyons, 09/26/2000
Archive powered by MHonArc 2.6.24.