Subject | Re: [firebird-support] Question = ISQL -o blabla.txt |
---|---|
Author | Milan Babuskov |
Post date | 2004-03-05T14:03:04Z |
Tanz Anthrox wrote:
sent to stderr. If you wish to see everything, redirect output (Linux
example: isql -i update.sql -o result.txt > result.txt 2>&1)
Even better is to check the result of isql. AFAIR, if it returns zero
then command is executed without errors, and non-zero means that there
has been an error).
--
Milan Babuskov
http://fbexport.sourceforge.net
> I want to update the server by using a batch file andOutput of SELECT and similar files is sent to result.txt. All else is
>
> isql -i update.sql -o result.txt
>
> By using this parameters I have a "Result.txt" file but size is 0 (zero) byte.
> Output of isql is on screen.
sent to stderr. If you wish to see everything, redirect output (Linux
example: isql -i update.sql -o result.txt > result.txt 2>&1)
Even better is to check the result of isql. AFAIR, if it returns zero
then command is executed without errors, and non-zero means that there
has been an error).
--
Milan Babuskov
http://fbexport.sourceforge.net