Viewing 3 posts - 1 through 3 (of 3 total)
hi all
now, i iwork with a workaround. i read the output file and search any sql server messages. if no message found -> everything ok.
thanks, guido
March 5, 2006 at 11:45 pm
#624816
hi ian
that's the big problem. osql don't return the return code. the errorlevel parameter is always zero, although the script failed.
cheers, guido
March 3, 2006 at 7:16 am
#624599
i have seen this article too, but..
what i need is the return value by the following syntax:
osql -S <server> -E -i <not_changeable_sql_script.sql> -o <output>
so i can't use the EXIT...
March 3, 2006 at 6:39 am
#624576