Quantcast
Channel: dBforums – Everything on Databases, Design, Developers and Administrators
Viewing all articles
Browse latest Browse all 13329

Stored procedure with job

$
0
0
Hi,
I want to use temporal db with oracle. Firstly I create table POSTMAN and it has id,name,surname,latitude,longitude,starttime,finis htime.After that I create job that has
HTML Code:

repeat_interval =>'FREQ=SECONDLY;INTERVAL=1;
and it use stored procedure for update latitude.
I update every second change latitude value of postman.But I need to time value for STARTTIME and FINISHTIME.When I changed the latitute I have to save old value and changed time for set STARTTIME and FINISHTIME . I want to copy row to another new row before updating process.After that I update the latitude value.So I kept the value of latitude.Is it possible with stored procedure on Oracle. How to solve problem with stored procedure or any other methods?

Viewing all articles
Browse latest Browse all 13329

Trending Articles