Explain What should be the return type for a cursor variable. Can we use a scalar data type as return type?

Submitted by: Administrator
The return type for a cursor must be a record type.It can be declared explicitly as a user-defined or %ROWTYPE can be used. eg TYPE t_studentsref IS REF CURSOR
RETURN students%ROWTYPE
Submitted by: Administrator

Read Online Oracle SQL Job Interview Questions And Answers