freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
- From: craigs <s.craig AT andronics.com>
- To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
- Subject: Re: [freetds] dbnextrow() question
- Date: Tue, 08 Mar 2005 11:34:57 +0000
thanks i'll keep an eye out for that.
Thompson, Bill D (London) wrote:
well yes...
your next call to dblibrary *might* fail with a "results pending" type
error though, if you tray and do another operation on the same channel
Bill
-----Original Message-----
From: freetds-bounces AT lists.ibiblio.org
[mailto:freetds-bounces AT lists.ibiblio.org] On Behalf Of craigs
Sent: 08 March 2005 10:58
To: FreeTDS Development Group
Subject: Re: [freetds] dbnextrow() question
found an easier way of doin it.
while (dbnextrow(dbconn) != NO_MORE_ROWS)
{
if ( find what i want )
{
do something here
now exit doing the following
return NO_MORE_ROWS; // this will let you exit
}
}
Thompson, Bill D (London) wrote:
Shaunthrough
see dbcanquery() or dbcancel() . dbcanquery looks like exactly what you
want.
-----Original Message-----
From: freetds-bounces AT lists.ibiblio.org
[mailto:freetds-bounces AT lists.ibiblio.org] On Behalf Of craigs
Sent: 04 March 2005 12:19
To: FreeTDS Development Group
Subject: [freetds] dbnextrow() question
Could someone tell me how to exit this loop? I dont want to run
thousands of unnecessary records when i find the one i want.sender, delete it and do not read, act upon, print, disclose, copy,
while (dbnextrow(dbconn) != NO_MORE_ROWS)
{
if ( find what i want )
{
do something here
now i want to exit out off this loop
}
}
Shaun
_______________________________________________
FreeTDS mailing list
FreeTDS AT lists.ibiblio.org
http://lists.ibiblio.org/mailman/listinfo/freetds --------------------------------------------------------
If you are not an intended recipient of this e-mail, please notify the
retain or redistribute it. Click here for important additional terms
relating to this e-mail. http://www.ml.com/email_terms/--------------------------------------------------------
_______________________________________________
FreeTDS mailing list
FreeTDS AT lists.ibiblio.org
http://lists.ibiblio.org/mailman/listinfo/freetds
_______________________________________________
FreeTDS mailing list
FreeTDS AT lists.ibiblio.org
http://lists.ibiblio.org/mailman/listinfo/freetds --------------------------------------------------------
If you are not an intended recipient of this e-mail, please notify the sender, delete it and do not read, act upon, print, disclose, copy, retain or redistribute it. Click here for important additional terms relating to this e-mail. http://www.ml.com/email_terms/ --------------------------------------------------------
_______________________________________________
FreeTDS mailing list
FreeTDS AT lists.ibiblio.org
http://lists.ibiblio.org/mailman/listinfo/freetds
-
[freetds] dbnextrow() question,
craigs, 03/04/2005
- <Possible follow-up(s)>
-
RE: [freetds] dbnextrow() question,
Thompson, Bill D (London), 03/04/2005
- Re: [freetds] dbnextrow() question, craigs, 03/08/2005
-
RE: [freetds] dbnextrow() question,
Thompson, Bill D (London), 03/08/2005
- Re: [freetds] dbnextrow() question, craigs, 03/08/2005
- RE: [freetds] dbnextrow() question, Lowden, James K, 03/08/2005
-
RE: [freetds] dbnextrow() question,
Thompson, Bill D (London), 03/08/2005
-
Re: [freetds] dbnextrow() question,
craigs, 03/09/2005
- Re: [freetds] dbnextrow() question, craigs, 03/10/2005
-
Re: [freetds] dbnextrow() question,
craigs, 03/09/2005
-
RE: [freetds] dbnextrow() question,
Thompson, Bill D (London), 03/10/2005
- Re: [freetds] dbnextrow() question, craigs, 03/10/2005
-
RE: [freetds] dbnextrow() question,
Thompson, Bill D (London), 03/10/2005
-
Re: [freetds] dbnextrow() question,
craigs, 03/10/2005
- Re: [freetds] dbnextrow() question, craigs, 03/10/2005
-
Re: [freetds] dbnextrow() question,
craigs, 03/10/2005
- RE: [freetds] dbnextrow() question, Thompson, Bill D (London), 03/10/2005
Archive powered by MHonArc 2.6.24.