shell script to run sql analyser

  • Here is my requirement..

    I have Sqlserver 2000 running on NT it is a remote system.

    I want to access this machine via telnet from a HP UX box and run a script.. The script will be for running a query and capture the data in a text or csv format and ftp to a remote machine,,

    I am trying to find out how i to pass the parms to get connected and get the spool file http://ftp..

    any takes on this

  • You can use osql with the -i[path to the script] parameter to run a script with telnet.

    checl in BOL for all the parameters used by osql.

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

You must be logged in to reply to this topic. Login to reply