Create database link
Create database link.
Last updated:
Warning: Review and test in a non-production environment before running.
drop public database link "TO_REMOTE_DB";
create public database link "TO_REMOTE_DB" connect to APP_USER identified by "********" using 'REMOTE_DB';
SELECT COUNT(*) FROM user_tables@TO_REMOTE_DB;