Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: help appreciated with db-link CTAS
I am slightly surprised that you got the
load as select
remote
at all - I recall reading a note on Metalink recently
that said the expected behaviour was the
load as select
nested loop remote remote
Have you tried variants of:
create table as
select
columns, constants, columns
from
(
select /*+ no_merge */ columns from dept_at_remote, emp_at_remote
Otherwise a workaround (if it is allowed) is to create a join view at the remote database and do 'select from view_at_remote'
-- Jonathan Lewis http://www.jlcomp.demon.co.uk Next Seminars UK July / Sept Australia July / August Malaysia September USA (MI) November http://www.jlcomp.demon.co.uk/seminar.html Telemachus wrote in message ...Received on Mon Jul 08 2002 - 10:28:02 CDT
>
>SQL> explain plan for select d.deptno,'X'
> from emp_at_oracle@remote e,
> dept_at_oracle@remote d
> where d.deptno=e.deptno;
>
>| CREATE TABLE STATEMENT | | | | | |
>|
>
>| LOAD AS SELECT | | | | | |
>|
>
>| REMOTE | | | | | |
>|