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: [freetds] how to exit dbnextrow() while loop
- Date: Fri, 04 Mar 2005 12:10:40 +0000
Could someone tell me how to exit this loop? I dont want to run through thousands of unnecessary records when i find the one i want.
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] how to exit dbnextrow() while loop, craigs, 03/04/2005
Archive powered by MHonArc 2.6.24.