Results 1 to 2 of 2
  1. #1
    Join Date
    Oct 2005

    Unanswered: How can i output result to a log file?

    Hi all,

    In case i have a script file containt tables, functions, ... when i use Query Analyzer to run this file, the result output in a window. Now i want this result output to a file named logfile.txt. How can i do that?

    Thanks first.

  2. #2
    Join Date
    May 2002
    qa has this capability. Options -> Results -> Defaul results to: FILE.

    if you want to do it from command line, you can use OSQL. See book online for details.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts