I'm trying to use two database links in a single query, one for fetching data and the other to insert data. But I'm unable to use them in a single query, even though both of them work perfectly when they are used in separate queries. Can't I use separate database links in a single query and if so why not? The query I'm trying to run is like
INSERT INTO TABLE1@DBLINK1 SELECT * FROM TABLE2@DBLINK2;
See Question&Answers more detail:os