Exam 1z0-149 All QuestionsBrowse all questions from this exam
Question 38

Which statement is true about user-defined records?

    Correct Answer: A

    User-defined records can be returned from a function. This is a common feature in many programming languages where user-defined types, such as records, are used to encapsulate multiple fields and can be returned from functions to provide structured data.

Discussion
jfc1Option: A

A is correct

thranduylOption: A

A es correct.

AlCoholic69Option: A

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; /

AlCoholic69

I'm returning a record from a function

abdullah_barhamOption: A

I think the answer is A

Raju_thangavelOption: A

I think answer is A

serkan110

Dont't think so as you can use functions in select statements