Interviewer And Interviewee Guide

Oracle Database Interview Question:

How To Define a Specific RECORD Type?

Submitted by: Administrator
f you want to define a specific RECORD type, you need to use the TYPE ... IS RECORD statement in the declaration part of any procedure or function. The following example script defines a RECORD type called STUDENT:

CREATE OR REPLACE PROCEDURE HELLO AS
TYPE student IS RECORD (
id NUMBER(5),
first_name VARCHAR(80),
last_name VARCHAR(80)
);
BEGIN
NULL;
END;
/

Submitted by: Administrator

Read Online Oracle Database Job Interview Questions And Answers
Copyright 2007-2024 by Interview Questions Answers .ORG All Rights Reserved.
https://InterviewQuestionsAnswers.ORG.