Difference between object and record type

oracle

Solution

The OBJECT type can be stored in the database and can be used in both SQL and PL/SQL

Problem

I am just curious whats the difference between object and record type in oracle, More specifically between the below declarations ``` create type emp2_oty is object ( empno number, ename varchar2(20), deptno number ); create type emp2_nt is table of emp2_oty; ``` and ``` type emp2_oty is record ( empno number, ename varchar2(20), deptno number ); create type emp2_nt is table of emp2_oty; ``` Please elaborate.

Original source