Skip to Main Content

APEX

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Oracle Apex - Create Procedure to Insert Records from Another Table

SANPATOct 15 2021

Dear Friends
We want to insert data from A table to B table. How it will be written in Oracle Apex Forms.
In the form 12c i was writing the code in the following way, now in apex how to write.
Create Procedure Test1 as
Declare
Cursor a1 is select empno,name from employee;
begin
delete from test1;
commit;
for i in a1
loop
insert into test1(empno,name)
values (i.empno,i.name);
end loop;
COMMIT_FORM;
end;

sanjay

This post has been answered by Mike Kutz on Oct 15 2021
Jump to Answer

Comments

Since only the US uses Imperial measures and multiplying to convert to miles is fairly simple, I doubt there will be any changes in that function.  And 5.7.5/6 is fairly old.  

Gaz in Oz
Answer

@"Dave Stokes-Oracle"

Depending on where in the UK, the person wanting a measure, the age of the person, the way the wind is blowing,...

The UK still uses imperial system measures, along with metric.

@"plimster"

As this thread is still "open" it appears you are waiting for more?

You yourself could enhance ST_Distance_Sphere by creating a wrapper for it, with a unit of measure parameter, and use the wrapper to do the conversion to what ever UOM was passed in.

Marked as Answer by plimster · Sep 27 2020
1 - 2

Post Details

Added on Oct 15 2021
6 comments
3,791 views