Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> Re: PL/SQL Problem
Your account probably has a restriction set in the table
PRODUCT_USER_PROFILE which is preventing you from using DECLARE. The
DBA can selectively disable most SQL*Plus commands in this way. The
appropriate rows need either to be removed or have char_value changed
for the command to be enabled.
Robert
On Wed, 2 Feb 2000 14:03:51 -0500, "Greg Burns" <greg.m.burns_at_usace.army.mil> wrote:
>When I try to define a variable using the "declare" command at the SQL
>prompt, I receive the following error:
>
>SQL> declare
>invalid command: declare
>SQL> exit
>
>However, when I log in as another user on the same database instance, I do
>not get the error. How can I get the first account to recognize declare as a
>valid command?
>
>Thanks,
>Greg
>
>
Received on Fri Feb 11 2000 - 16:43:30 CST