Results 1 to 3 of 3
  1. #1
    Join Date
    Nov 2003
    Posts
    15

    Unanswered: create multiple stored proc thru script

    Hi,

    I am using an MSDE database.
    During installation, i intend to use a a script file which creates all tables and stored procedures using ADODB in InstallShield.
    But i get the error
    "CREATE PROCEDURE must be the first statement in a batch update". Moreover "GO" is not recognized by ADODB.
    How can i create the stored procedures ?

    regards,
    henry

  2. #2
    Join Date
    Nov 2002
    Location
    Jersey
    Posts
    10,322
    Call osql to execute the script?
    Brett
    8-)

    It's a Great Day for America everybody!

    dbforums Yak CorralRadio 'Rita
    dbForums Member List
    I'm Good Once as I ever was

    The physical order of data in a database has no meaning.

  3. #3
    Join Date
    Nov 2003
    Posts
    15
    Hi Brett,

    I am using osql to execute the script successfully. But i am still wondering how to do this through ADODB.

    Thanks and regards,
    henry

Posting Permissions

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