Results 1 to 2 of 2
  1. #1
    Join Date
    Jan 2003
    Location
    The Netherlands, Oudkarspel
    Posts
    27

    Unanswered: sql_statements.sql

    Hi,

    I am looking for a sql statement with wich i can open the file 'sql_statements.sql' and let the database process al the sql statements in de file.

    I know it is in Oracle something like: ' @C:\sql_statements.sql' , but I don't know the statement for SQL Server 2000.

    Does anyone know how to do this?

    Joachim

  2. #2
    Join Date
    Aug 2002
    Location
    Scotland
    Posts
    1,578
    You can do it by using ISQL or OSQL utility in SQL Server, refer to books online for more information and code examples.
    --Satya SKJ
    Microsoft SQL Server MVP
    [IMG]http://sqlserver-qa.net/google_bart.gif[/IMG]

Posting Permissions

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