Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> PL/SQL function to create a table in alternate tablespace
Hi.
I am pretty new to Oracle and PL/SQL, and am having a hard time finding documentation with good examples.
CREATE OR REPLACE FUNCTION create_whtable
IS
BEGIN
DROP TABLE FA_DBA.FARS;
CREATE TABLE whtable TABLESPACE warehouse_data SELECT * FROM
sourceview;
END;
/
2. I then would like to schedule this procedure to be run once a week using the DBMS_JOB package, but I have no idea how to use this package.
Any help would be much appreciated
TIA, Steve Keider Received on Mon Nov 02 1998 - 13:19:14 CST