If you are on 8i, then definitely the best way to deal with your problem is to use "invokers rights" for that procedure. That way you dont have to worry about in whose schema the table will be created - it will allways be created in a schema of the user that is currently executing the procedure. All you have to do is to specify "AUTHID CURRENT_USER" when you create a procedure:
CREATE OR REPLACE PROCEDURE my_procedure AUTHID CURRENT_USER
AS ......
Jurij Modic
ASCII a stupid question, get a stupid ANSI
24 hours in a day .... 24 beer in a case .... coincidence?
Bookmarks