Print Thread
v3.0 beta 'statement not allowed' error on create as
#32616 09/08/06 08:37 PM
Joined: Aug 2004
Posts: 34
P
Member
OP Offline
Member
P
Joined: Aug 2004
Posts: 34
Hi. I'm getting a 'statement not allowed' error on any 'create table as' statement. The same query runs fine in the old version.

Re: v3.0 beta 'statement not allowed' error on create as
#32617 09/12/06 09:38 PM
Joined: Aug 1999
Posts: 22,220
Member
Offline
Member
Joined: Aug 1999
Posts: 22,220
This would imply that it is running in "select only" mode. In this case it does not allow DDL statements.


Marco Kalter
Allround Automations
Re: v3.0 beta 'statement not allowed' error on create as
#32618 09/14/06 07:33 PM
Joined: Aug 2004
Posts: 34
P
Member
OP Offline
Member
P
Joined: Aug 2004
Posts: 34
But how do I get 'out' or 'in' to 'select only' mode?

I -think- you are saying my access is 'select only' to the table being updated, but this is not the case. I am actually the owner of the table. If I try the same thing with the old version, logged on as the same user, to the same DB, on the same piece of SQL, it works just fine.

Re: v3.0 beta 'statement not allowed' error on create as
#32619 09/14/06 07:53 PM
Joined: Aug 2004
Posts: 34
P
Member
OP Offline
Member
P
Joined: Aug 2004
Posts: 34
Here are some comparisions of results between versions:

version: 2.0.5.212

'Describe' ==> ORA-00900: invalid SQL statement
'Create table as' ==> works fine
'Drop table' ==> works fine

version: 3.0.0.236

'Describe' ==> ERROR Statment not allowed
'Create table as' ==> ERROR Statment not allowed
'Drop table' ==> ERROR Statment not allowed

These results are for the same piece of SQL, on the same table and DB, with the same access. It's important for our use of this tool to allow 'create table as' and 'drop table' sorts of things, if the Oracle security of the user allows. Otherwise we will be having to drop back to SQL-Plus, truly a scary thought. ;-)

Re: v3.0 beta 'statement not allowed' error on create as
#32620 09/15/06 06:44 PM
Joined: Aug 1999
Posts: 22,220
Member
Offline
Member
Joined: Aug 1999
Posts: 22,220
We will make a new beta version available next week, that solves this issue.


Marco Kalter
Allround Automations
Re: v3.0 beta 'statement not allowed' error on create as
#32621 09/19/06 10:02 PM
Joined: Aug 1999
Posts: 22,220
Member
Offline
Member
Joined: Aug 1999
Posts: 22,220
We have a fixed version available here:

http://www.allroundautomations.com/queryreporter30b.exe

Apart from the fix for the reported problem, it also has support for unicode in results.

A final version will be available shortly after the release of PL/SQL Developer 7.0.3.


Marco Kalter
Allround Automations
Re: v3.0 beta 'statement not allowed' error on create as
#32622 09/21/06 01:34 AM
Joined: Aug 2004
Posts: 34
P
Member
OP Offline
Member
P
Joined: Aug 2004
Posts: 34
I get the same result with this 30b version. Hmm . . .

Re: v3.0 beta 'statement not allowed' error on create as
#32623 09/21/06 08:00 PM
Joined: Aug 1999
Posts: 22,220
Member
Offline
Member
Joined: Aug 1999
Posts: 22,220
My apologies, a mixup on our end. This one will work correct:

http://www.allroundautomations.com/queryreporter30c.exe


Marco Kalter
Allround Automations
Re: v3.0 beta 'statement not allowed' error on create as
#32624 09/28/06 11:22 PM
Joined: Aug 2004
Posts: 34
P
Member
OP Offline
Member
P
Joined: Aug 2004
Posts: 34
Yes, it works fine. Thank you!

I'm an analyst and rely on PL/SQL Developer, but this 'lighter weight' product is used extensively by our users to run very complex queries. Without this product we would really be in a 'world of hurt'.

Thank you for this fine software!


Moderated by  support 

Link Copied to Clipboard
Powered by UBB.threads™ PHP Forum Software 7.7.4
(Release build 20200307)
Responsive Width:

PHP: 7.1.33 Page Time: 0.109s Queries: 14 (0.065s) Memory: 2.5317 MB (Peak: 3.0392 MB) Data Comp: Off Server Time: 2024-05-16 23:59:43 UTC
Valid HTML 5 and Valid CSS