Results 1 to 2 of 2
  1. #1
    Join Date
    Apr 2009

    Unanswered: MS SQL script n command line

    Hi, I need to be able to execute MS SQL script which is in a file my_sql_script.sql. How do i execute this script in command line ?

  2. #2
    Join Date
    Jun 2007
    For SQL2000: look for the osql command line utility
    For SQL2005: look for the sqlcmd command line utility
    "/h" will give you first help

Posting Permissions

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