Skip to Content.
Sympa Menu

freetds - [freetds] dbnextrow() question

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: craigs <s.craig AT andronics.com>
  • To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
  • Subject: [freetds] dbnextrow() question
  • Date: Fri, 04 Mar 2005 12:18:37 +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




Archive powered by MHonArc 2.6.24.

Top of Page