Forum Replies Created

Viewing 2 posts - 1 through 2 (of 2 total)

  • RE: TSQL SCRIPT IN A BAT FILE

    ... the -o <filename> option will direct the output to whatever file you want.

    I also use the the -w <num> option to set the width because the default is not...

  • RE: TSQL SCRIPT IN A BAT FILE

    Waheed -

    This is done using a command line program, 'isql', which is installed with the SQL Tools.

    Here's an example -

    isql -Usa -P -Q"select cast(name as char(20)) from master..sysusers" -n -owork.out

    This...

Viewing 2 posts - 1 through 2 (of 2 total)