PDA

View Full Version : Pls-00329


TrynTry
09-30-2005, 06:47 PM
I am trying to create a TYPE table in schema scott with rowtype of a
table in schema matt as below:

CREATE TYPE tst_typ is TABLE of matt.ordertable%ROWTYPE;

I keep getting the error:
LINE/COL ERROR
--------
-----------------------------------------------------------------
0/0 PL/SQL: Compilation unit analysis terminated
1/32 PLS-00329: schema-level type has illegal reference to
MATT.ORDERTABLE

What am I doing wrong or what kind of privileges are missing?
I have ensured that there is reference entry in dba_tab_privs to the
table for the schema SCOTT

GRANTEE OWNER
------------------------------ ------------------------------
TABLE_NAME GRANTOR
------------------------------ ------------------------------
PRIVILEGE GRA HIE
---------------------------------------- --- ---

SCOTT MATT ORDERTABLE MATT REFERENCES
YES NO


--
TrynTry
------------------------------------------------------------------------
TrynTry's Profile: http://www.highdots.com/forums/m872
View this thread: http://www.highdots.com/forums/t3002413


MyLounge.com Site Map
Forum: Cars, Cell Phone, Database, Games, Home Improvement, IT, Music, School, Sports, Web Design, Web Server, Weight Loss

The MyLounge.com forum is intended for informational use only and should not be relied upon and is not a substitute for any advice. The information contained on MyLounge.com are opinions and suggestions of members and is not a representation of the opinions of MyLounge.com. MyLounge.com does not warrant or vouch for the accuracy, completeness or usefulness of any postings or the qualifications of any person responding. Please consult a expert or seek the services of an attorney in your area for more accuracy on your specific situation. Please note that our forums also serve as mirrors to Usenet newsgroups. Many posts you see on our forums are made by newsgroup users who may not be members of MyLounge.com Term of Service