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 > time-based Trigger

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 07-11-07, 11:08
emansour emansour is offline
Registered User
 
Join Date: Jul 2007
Posts: 6
time-based Trigger

He everybody,

I have an attribute, its value (AV) is calculated by subtracting the current time from (V). It is required to update the value of the attribute every minute.

I am thinking to write a stored procedure and calling it from a java thread.

I am looking for a solution to let the DB2 execute the stored procedure every minute automatically.

Does DB2 support such action?


Best Regards,

Essam
Reply With Quote
  #2 (permalink)  
Old 07-11-07, 13:08
rahul_s80 rahul_s80 is offline
Registered User
 
Join Date: Jul 2006
Location: Pune , India
Posts: 433
you can create a scheduled task that will execute every minute from task centre
db2tc
__________________
Rahul Singh
Certified DB2 9 DBA / Application Developer
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