Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
create or replace procedure area_of_circle (radius in number, area out number) is
begin
area := 3.14159 * (power(radius,2));
end;
Procedure created.
set serveroutput on
declare
my_area number;
begin
area_of_circle(7,my_area);
dbms_output.put_line('The area of a circle with radius 7 is '||my_area||' square units.');
end;
/
The area of a circle with radius 7 is 153.93791 square units.
PL/SQL procedure successfully completed.
create or replace function circle_area (radius in number) return number is
begin
Return 3.14159 * (power(radius,2));
end;
/
Function created.
select circle_area(7) from dual;
CIRCLE_AREA(7)
--------------
153.93791
1 row selected.
In Oracle, schema most significantly relates to ownership. A schema can own tables, views, indexes, synonyms, procedures, functions, packages, triggers, sequences, clusters, database links, et cetera. For the schema to exist, an Oracle User must exist by the same name as the schema. In the Oracle world, a User and a Schema are congruent and inextricable...You cannot have a schema without a user and vice versa.florida41 said:I think of schema from my Access database experience as tables with relationships but not familiar with the user term?