Running OSQL without SQL Client

  • I have a batch file which contains an OSQL statement which executes a SP saving the output to a formatted text file.

    I want another user be able to execute this batch file however, I dont want to install the SQLServer client on the user's workstation. Currently when the user tries to execute, it gives the message : 'OSQL is not an internal or external command'

    How can I accomplish this? The user has an ODBC connection to the server.

    Thanks in advance

  • Copy osql.exe to their machine.

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

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