Results 1 to 2 of 2

Thread: Calling external script file to run MS SQL

  1. #1
    Join Date
    Mar 2003
    Location
    Indianapolis
    Posts
    12

    Calling external script file to run MS SQL

    Good morning.

    I know that in Oracle I can say

    START %oracle_home%\blah blah blah.sql


    Does anyone know how to call this from within MS SQL 2000?

    Basically I am going to be calling from a C++ environment to setup a schema for a database calling a prewritten SQL script.

    Thank you in advance for any time / answers.

  2. #2
    Join Date
    Sep 2002
    Location
    Fantasy
    Posts
    4,254
    Look into the BINN folder for
    OSQL.exe

    and type OSQL /?

Posting Permissions

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