Skip to content

Instantly share code, notes, and snippets.

@maxcnunes
Created April 11, 2016 11:36
Show Gist options
  • Star 6 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save maxcnunes/33432f863091e51fd48b914d381b0a4b to your computer and use it in GitHub Desktop.
Save maxcnunes/33432f863091e51fd48b914d381b0a4b to your computer and use it in GitHub Desktop.
Example using dblink to execute a SELECT query between different databases. (PG 9.4)
@urravikumarreddy
Copy link

Hi,
I have one store function in postgres, which contains the scripts.(insert,update,delete).
I need to run the that stored function in required Database.

Generally in MSSQL Server, I used the USE command for navigating to required Database.
Please give me Advice how to do that ?

@kachalovsky
Copy link

Thanks for your example!
It was very helpful for me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment