SQL>
SQL> create or replace
2 type address as object(
3 id number,
4 street varchar2(100),
5 state varchar2(2),
6 zipcode varchar(11)
7 )
8 /
Type created.
SQL>
SQL> create table address_table of address
2 /
Table created.
SQL>
SQL> drop table address_table;
Table dropped.
SQL>
SQL> drop type address;
Type dropped.
SQL>
SQL>
|