in reply to Reading from databse and writing to file.
Can Sybase manage stored procedures? I've sometimes found it helpful to put complicated data calls into stored procedures and then just run the procedure from the perl script. MS-SQL would look something like:
$sql = "{call procedure_name( '$any-input-values')}";
#call the procedure $db->Sql($sql);
The rest of it seems conceptually workable, but I'm not experienced enough to advise you there. Just a minor point, you never close your OUTFILE. I always thought it was good practice to do so.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Reading from databse and writing to file.
by mpeppler (Vicar) on May 21, 2003 at 13:31 UTC |