Re: Cannot create a new table from PL/SQL

From: Dave Cook <d.cook_at_niwa.cri.nz>
Date: 1996/11/18
Message-ID: <56qjcj$nkp_at_clam.niwa.cri.nz>#1/1


d.cook_at_niwa.cri.nz (Dave Cook) wrote:

Problem solved.

From Oracle support this morning I discovered the reason for my PL/SQL procedure not working - the username I was using must have the CREATE TABLE priv explicitly granted to it - as roles do not work from stored procedures.

Once granted, my procedure worked - too easy !

>As a new comer to PL/SQL programming I have having some problems
>creating a table from PL/SQL. I don't want to use PL/SQL tables, but
>want to create a completely new table which I can then query from
>outside PL/SQL (eg; from ARCINFO or Microsoft Excel).

GIS Administrator,                Email : d.cook_at_niwa.cri.nz
NIWA,                             Phone : (04) 386 0300
Wellington, NZ Received on Mon Nov 18 1996 - 00:00:00 CET

Original text of this message