ISQL Example: include all the "errors" in the output file

Abstract: ISQL Example: include all the "errors" in the output file

Problem: What is the flag to tell isql.exe to include all the "errors" in the output file? Solution: You should be able to store the STDERR information by specifying -M on the ISQL command line: i.e. isql -i foo.sql -m > foo.out You could also do the following on NT isql -i foo.sql > foo.out 2>&1 The -M in ISQL merges STDERR to STDOUT. Source: Mark Duquette