Collections:
Define a Specific RECORD Type in Oracle
How To Define a Specific RECORD Type in Oracle?
✍: FYIcenter.com
If 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;
/
⇒ Define a Variable for a Specific RECORD Type in Oracle
⇐ What Is a RECORD in PL/SQL in Oracle
2018-09-01, 2224🔥, 0💬
Popular Posts:
What is SQL Server Transact-SQL (T-SQL)? SQL Server Transact-SQL, also called T-SQL, is an extension...
How To Drop an Index in Oracle? If you don't need an existing index any more, you should delete it w...
How To Recover a Dropped Index in Oracle? If you have the recycle bin feature turned on, dropped ind...
How To Drop a Stored Procedure in Oracle? If there is an existing stored procedure and you don't wan...
How to set database to be READ_ONLY in SQL Server? Databases in SQL Server have two update options: ...