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 6 months, 2 weeks agothranduyl
Most Recent 1 month, 1 week agoAlCoholic69
8 months, 3 weeks agoAlCoholic69
8 months, 3 weeks agoabdullah_barham
9 months, 3 weeks agoRaju_thangavel
10 months, 1 week agoserkan110
10 months ago