Results 1 to 2 of 2
  1. #1
    Join Date
    Jun 2002
    Posts
    16

    Unanswered: dbsqlexec and triggers

    hi,
    I am executing an insert statement gainst a table which has trigger. The trigger fails on the insert and the transaction is rolled back but the call to dbsqlexec returns a SUCCESS. Is there anyway of trapping the error?

    Any help would be appreciated?

    Raghu

  2. #2
    Join Date
    Feb 2002
    Location
    Willy is on vacation
    Posts
    1,208

    Post

    Hi raghu,

    I'm sure you are either talking about ASA or ASIQ that use dbisql.exe.

    There is a header file available in ASA direcctory called "h", just open the sqldef.h file and it contains all the return codes for dbisql.

    You can also use this header file in your applications.

    Cheers
    Pai

Posting Permissions

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