Results 1 to 5 of 5
  1. #1
    Join Date
    Oct 2003
    Location
    France
    Posts
    10

    Unanswered: Ingres Scripting

    Hi all,

    I would like to know how to break my ingres script in case of error.

    For more informations:
    I wrote scripts that :
    Create DB
    Copy data
    Duplicate Tables
    Modify somes
    Drop modified tables
    Put on index

    But I got trouble.

    How do to break on error ?

    Thanks in advance

    .\vb6dv/.

  2. #2
    Join Date
    Jul 2003
    Location
    England
    Posts
    152
    In SQL putting \nocontinue at the beginning of the script will stop the script at the first SQL error.
    Regards
    Dbabren

  3. #3
    Join Date
    Oct 2003
    Location
    France
    Posts
    10
    thanks a lot !

  4. #4
    Join Date
    Nov 2003
    Location
    UK
    Posts
    2
    Hi,

    What version of Ingres are you running?

    There was a change in how \nocontinue works, it used to go to the next \g in the file, now it exits the script (and maybe commits on the way out).

    Regards,

  5. #5
    Join Date
    Oct 2003
    Location
    France
    Posts
    10
    I'm in a Ingres 2.1 version.
    And on my version \nocontinue break up thread.

Posting Permissions

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