Home » SQL & PL/SQL » SQL & PL/SQL » DATABASE TIMER
DATABASE TIMER [message #40689] Thu, 31 October 2002 01:57 Go to next message
rmn
Messages: 2
Registered: July 2002
Junior Member
HI TO ALL
any body explain me how to create databse timer (not from developer but from databse)
Re: DATABASE TIMER [message #40692 is a reply to message #40689] Thu, 31 October 2002 06:13 Go to previous messageGo to next message
Mahesh Rajendran
Messages: 10707
Registered: March 2002
Location: oracleDocoVille
Senior Member
Account Moderator
what kind of timer are u looking into?
you can design one, as u want.
Re: DATABASE TIMER [message #40699 is a reply to message #40689] Thu, 31 October 2002 09:29 Go to previous message
andrew again
Messages: 2577
Registered: March 2000
Senior Member
does this help:
DECLARE
   v_hsec   PLS_INTEGER := DBMS_UTILITY.get_time;
BEGIN
   my_proc;
   DBMS_OUTPUT.put_line ('sec for my_proc to run = '|| (DBMS_UTILITY.get_time - v_hsec) / 100);
END;
/
Previous Topic: Please check this ....Urgent
Next Topic: How to insert a record in another schema table through Trigger
Goto Forum:
  


Current Time: Mon Apr 29 00:37:07 CDT 2024