Hi,
Using 11.2.0.3 and have following issue.
Wish to create a table in one schema (b) using some of data from another schema (b)
If run standalone in sqlplus create works O.K but same sql in dynamic sql block saying table or view does not exist.
Same sql as part of dyanmic sql
{code}
v_sql :='create table new_table as select * from schemab.table_name where ...';
execute immediate (v_sql);
[code}
Other tables work fine.
Any ideas - don't want to have to do grant all on schemaa.table to schema b if can avoid.
Thanks