dbTalk Databases Forums  

ora-01031 (insuff priv) while create table in package

comp.databases.oracle.misc comp.databases.oracle.misc


Discuss ora-01031 (insuff priv) while create table in package in the comp.databases.oracle.misc forum.



Reply
 
Thread Tools Display Modes
  #21  
Old   
William Robertson
 
Posts: n/a

Default Re: ora-01031 (insuff priv) while create table in package - 07-15-2008 , 04:14 AM






On Jul 14, 3:59*pm, Norbert Winkler <norbert.winkl... (AT) gmx (DOT) de> wrote:
Quote:
Why do you want to do this? *In general this is a very bad idea. *If you
want a "temporary table" in a manner similar to MS SQLServer uses in stored
procs then look up global temporary table in the Oracle Docs. *A global
temporary table is created 1 time not by each user.

my problem doesn't deal with temp-tables, my example-sql probably confuses
you.

Jim

Sorry if I'm explaining too much details:

I've written a package that manage nested sets.
It uses two tables:
one for the attributes and the other for the tree structures.

I've written it with dynamical SELECT/INSERT/UPDATES/DELETE statements, so
that the user can choose the table names and the names of essential fields
of the attribut-table.
(there is i.E a SetTabNameTree procedure)
So he can add nested-functionality to his existing flat tables without
changing anything.

Now I want to write a service-package that create all tables, sequences
triggers and views withe the user choosen names.

If it doesn't work, I've to write a client-application to create the
necessary database-objects, or the user must do it by a string-replaces
itself.

--
Norbert
Is it one of these? Just checking

http://oracle-wtf.blogspot.com/2006/...-approach.html


Reply With Quote
  #22  
Old   
Norbert Winkler
 
Posts: n/a

Default Re: ora-01031 (insuff priv) while create table in package - 07-16-2008 , 01:21 AM






Am Tue, 15 Jul 2008 02:14:01 -0700 (PDT) schrieb William Robertson:

Quote:
http://oracle-wtf.blogspot.com/2006/...-approach.html
Thanks! I think I'll read more about EAV.

--
Norbert


Reply With Quote
  #23  
Old   
Norbert Winkler
 
Posts: n/a

Default Re: ora-01031 (insuff priv) while create table in package - 07-16-2008 , 01:21 AM



Am Tue, 15 Jul 2008 02:14:01 -0700 (PDT) schrieb William Robertson:

Quote:
http://oracle-wtf.blogspot.com/2006/...-approach.html
Thanks! I think I'll read more about EAV.

--
Norbert


Reply With Quote
  #24  
Old   
Norbert Winkler
 
Posts: n/a

Default Re: ora-01031 (insuff priv) while create table in package - 07-16-2008 , 01:21 AM



Am Tue, 15 Jul 2008 02:14:01 -0700 (PDT) schrieb William Robertson:

Quote:
http://oracle-wtf.blogspot.com/2006/...-approach.html
Thanks! I think I'll read more about EAV.

--
Norbert


Reply With Quote
  #25  
Old   
Norbert Winkler
 
Posts: n/a

Default Re: ora-01031 (insuff priv) while create table in package - 07-16-2008 , 01:21 AM



Am Tue, 15 Jul 2008 02:14:01 -0700 (PDT) schrieb William Robertson:

Quote:
http://oracle-wtf.blogspot.com/2006/...-approach.html
Thanks! I think I'll read more about EAV.

--
Norbert


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.