If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > db2 trigger syntax

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 09-21-05, 14:14
palchuri palchuri is offline
Registered User
 
Join Date: Jan 2003
Posts: 47
db2 trigger syntax

How to handle exception handing in db2 triggers?
__________________
p.srinivasarao
Reply With Quote
  #2 (permalink)  
Old 09-22-05, 07:56
ARWinner ARWinner is offline
Registered User
 
Join Date: Jan 2003
Posts: 3,575
Please provide you DB2 version and OS.

For DB2 for LUW, you cannot do that directly in a trigger. With the advent of 8.2, you can call Stored Procedures from triggers which have this capability.

Andy
Reply With Quote
  #3 (permalink)  
Old 09-24-05, 07:03
palchuri palchuri is offline
Registered User
 
Join Date: Jan 2003
Posts: 47
Db2 Trigger

We are using DB2 UDB8.2. What would be the syntax for
calling stored procedure in db2.

Can I use same trigger for insert and update?
__________________
p.srinivasarao
Reply With Quote
  #4 (permalink)  
Old 09-24-05, 19:19
skrishnamurthy skrishnamurthy is offline
Registered User
 
Join Date: Sep 2005
Posts: 28
Wink

Please follow the link for IBM manuals in PDF format

http://www-306.ibm.com/software/data...manualsv8.html

Quote:
Originally Posted by palchuri
We are using DB2 UDB8.2. What would be the syntax for
calling stored procedure in db2.

Can I use same trigger for insert and update?
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On