Skip to Content.
Sympa Menu

freetds - [freetds] Help needed with standard error output with using fisql

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Modesto Sevilla <mpsevill AT uci.edu>
  • To: freetds AT lists.ibiblio.org
  • Subject: [freetds] Help needed with standard error output with using fisql
  • Date: Fri, 05 Jun 2009 17:42:22 -0700

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) /
/ modesto.sevilla AT uci.edu /
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~




Archive powered by MHonArc 2.6.24.

Top of Page