Help needed with standard error output with using fisql
Modesto Sevilla <[email protected]>
| Newsgroups | gmane.comp.db.tds.freetds |
|---|---|
| Message-ID | <[email protected]> |
Hello,
I am having problem redirecting the standard error when I use fisql
with an input file.
The -e parameter is now used for echoing SQL input not standard error.
I have tried the following but it does not work:
isql -S SERVERNAME -U USERNAME -P PASWORD -i sql_file 2> output_log
and
isql -S SERVERNAME -U USERNAME -P PASWORD -i sql_file > output_log
and
isql -S SERVERNAME -U USERNAME -P PASWORD -i sql_file -o output_log
None of these commands log the error, I'm not sure how to capture the
standard error.
When I have an error in the sql_file, I get a segmentation fault but the
output_log is blank.
Anyone has any ideas?
Thank you!
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/ Modesto P. Sevilla /
/ Adcom Services, UCI (949)824-7718 Fax:(949)824-7264 /
/ Programmer/System Analyst IV (Manager/Project Lead) /
/ [email protected] /
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~