Focal Point
[SOLVED] purge statement through webfocus
November 07, 2008, 10:36 AM
george!! [SOLVED] purge statement through webfocus
To clean up the recycle bin of the Oracle database to which webfocus connects i tried using the statement PURGE RECYCLEBIN.
But this always throws an error saying VIEW REYCLEBIN cannot be found. I can select from the RECYCLEBIN through WebFOCUS and also run the PURGE statement outside of webfocus,through any Oracle client using the same Oracle id. Is there any restriction on using the PURGE command through WebFOCUS?
This message has been edited. Last edited by: Kerry , November 17, 2008 04:22 PM Webfocus 7.1.6, Solaris
November 07, 2008, 10:48 AM
GinnyJakes If this is an Oracle command, are you embedding it in:
SQL SQLORA
command
END
syntax?
Ginny --------------------------------- Prod: WF 7.7.01 Dev: WF 7.6.9-11 Admin, MRE,self-service; adapters: Teradata, DB2, Oracle, SQL Server, Essbase, ESRI, FlexEnable, Google
November 07, 2008, 10:52 AM
george!! Yes
SQL ORA
PURGE RECYCLEBIN;
END
Just the PURGE commands will not work
Webfocus 7.1.6, Solaris
November 07, 2008, 10:57 AM
GinnyJakes quote:
SQL SQLORA
Make sure this is correct. See above.
Ginny --------------------------------- Prod: WF 7.7.01 Dev: WF 7.6.9-11 Admin, MRE,self-service; adapters: Teradata, DB2, Oracle, SQL Server, Essbase, ESRI, FlexEnable, Google
November 07, 2008, 11:06 AM
george!! My syntax is correct,because I have been using the same for all Oracle statements all the time.
Webfocus 7.1.6, Solaris
November 10, 2008, 04:38 AM
<JG> quote:
PURGE RECYCLEBIN
I assume that you have DROP TABLE commands and that is why you want to purge the RECYCLEBIN
If that is the reason change the DROP to
DROP TABLE tablename PURGE;
That way it will not go into the recycle bin at all.
November 10, 2008, 09:58 AM
george!! Thanks JG.
That does not create any Recycle Bin objects.
But do you know why the simple PURGE RECYLEBIN command does not work from webfocus?
Webfocus 7.1.6, Solaris
November 10, 2008, 01:05 PM
Francis Mariani Just curious if you've tried the "SHOW recyclebin" command?
Francis
Give me code, or give me retirement. In FOCUS since 1991
Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
November 10, 2008, 03:45 PM
<JG> George that's one for tech support.
I assume it's because RECYCLEBIN is not a table or view and so webFocus does not generate the correct syntax.
NFR perhaps.