I have 2 database in ORACLE SQL DEVELOPER connections, con1 and con2 (with different schemas)
I need to create a view, based on columns from both db’s , the method:
Create VIEW testviewAS (SELECT col1, col2, col3 FROM con1.table1);
ALTER VIEW AS (SELECT col1, col2, col3 FROM con2.table2);
It doesn’t work.
Found this solution
in the second connection worksheet I access grants on table2 to conection1 one
and then I create view (on the 1sr connection worksheet):