I'm a user on two databases, database1
and database2
.
In database1, there is a public dblink
OWNER: PUBLIC DB_LINK: DBLINKNAME USERNAME: CURRENT_USER HOST: DATABASE2 CREATED:...
What is the syntax for using this dblink to do a select on schema.table on database2?