Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Type creation needing an extra slash in Sqlplus

York35Jun 11 2010 — edited Jun 11 2010
DB Version:10gR2

A table can be created with the termination charachter semicolon plus enter. But when creating TYPEs we need an extra forward slash.
Why is that?
SQL> create table xyz(col1 number(4));

Table created.


SQL> CREATE OR REPLACE TYPE UID_TYPES  AS TABLE OF UIDLIST;
  2  /                             ------------------------------> the slash i am talking about

Type created.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 9 2010
Added on Jun 11 2010
5 comments
1,243 views