• You can redirect the output using osql and the ">" operator. There is also an option in QA to save to a file.

    Andy

    http://www.sqlservercentral.com/columnists/awarren/