in reply to Reading from databse and writing to file.
Your errcounter and succounter variables are declared at the global level, then you redeclare them in a very limited scope (you need to check out what my really does), and you don't do anything with them in this snippet anyway, so why include in this example?
Instead of asking "Does this work?", it would be better if you actually tried it, see what it does, and then try to fix it. If you are having trouble with any particular part, give some detail about what the problem is with the smallest amount of code possible (and to reduce noise, make up an example with simpler SQL statements, with just a few columns), and we'll still be here :-)
Oh, and welcome to the monestery :-)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Reading from databse and writing to file.
by SQLMan (Novice) on May 15, 2003 at 12:08 UTC | |
by runrig (Abbot) on May 15, 2003 at 18:02 UTC | |
|
Re: Re: Reading from databse and writing to file.
by SQLMan (Novice) on May 15, 2003 at 17:58 UTC | |
by runrig (Abbot) on May 15, 2003 at 18:09 UTC |