create or replace package mypackage is
type mytype is record(
a number
);
function myfunction return mytype;
end;
/
create or replace package body mypackage is
function myfunction return mytype
is
l_record mytype;
begin
l_record.a := 69;
return l_record;
end myfunction;
end;
/
set serveroutput on;
begin
dbms_output.put_line(mypackage.myfunction().a);
end;
/
Dont't think so as you can use functions in select statements
upvoted 1 times
...
...
Log in to ExamTopics
Sign in:
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
jfc1
Highly Voted 5 months, 1 week agothranduyl
Most Recent 5 days, 1 hour agoAlCoholic69
7 months, 2 weeks agoAlCoholic69
7 months, 2 weeks agoabdullah_barham
8 months, 3 weeks agoRaju_thangavel
9 months agoserkan110
8 months, 3 weeks ago