Hi
I am having trouble with the EXECUTE IMMEDIATE statement. I am generating a CREATE VIEW command which works great as an annonymous block. When I put the same code into a package I get ORA-1031 insufficient privileges error which talks about trying to change the user and password. The view needs to be in them same schema as the package and the call is made from the same schema.
I am having trouble with the EXECUTE IMMEDIATE statement. I am generating a CREATE VIEW command which works great as an annonymous block. When I put the same code into a package I get ORA-1031 insufficient privileges error which talks about trying to change the user and password. The view needs to be in them same schema as the package and the call is made from the same schema.