Results 1 to 2 of 2
  1. #1
    Join Date
    Nov 2003

    Unanswered: executing a stored proc from a NT Batch script

    How do I write a NT batch script which will take few parameters and execute a stored procedure?

    I want to write a small NT batch script, which will execute the procedure sp_password, to change other users' password. So, I should be able to pass the parameters like userId and newPassword, to the batch file.


  2. #2
    Join Date
    Jan 2004
    Provided Answers: 4
    You should check .
    That topic contains some useful information about using batchfiles, variables and sqlscripts (and thus tored procedures)..

Posting Permissions

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