Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
What to add current datetime ..
Message
General information
Forum:
Oracle
Category:
PL/SQL
Title:
What to add current datetime ..
Miscellaneous
Thread ID:
01483290
Message ID:
01483290
Views:
91
We have an Oracle procedure that looks like this:

CREATE OR REPLACE PROCEDURE KPOPSLOGGER.KPOPS_Logger (E_Type NUMBER, A_Object NUMBER, MRN NUMBER ) AS
BEGIN
INSERT INTO KPOPSLogger.PHI_Event
(Event_Type, Application_Object, MRN, PHI_Item)
(SELECT E_Type, A_Object, MRN, PHI_Item
FROM KPOPSLogger.Application_Screen_PHI
WHERE Application_Object=A_Object) ;
END

...my problem is that there is a phi_event.event_time field (which is datetime) and I need to put the current datetime in that field in the above procedure. Anyone know how I can do that?

Thanks!
ICQ 10556 (ya), 254117
Next
Reply
Map
View

Click here to load this message in the networking platform