Results 1 to 3 of 3
  1. #1
    Join Date
    Jun 2006
    Posts
    1

    Unanswered: How to connect two databases on alocal server in SQL

    I want to run the SQL command across different database on the same host :
    Is there any SQL syntax on PostgreSQL like above, that it can select the postgresql different database.

    ps. I use PostgreSQL 7.1

    Please help me!
    Thanks~
    Last edited by arm0001; 06-20-06 at 22:55.

  2. #2
    Join Date
    Feb 2005
    Location
    Colorado Springs
    Posts
    222
    With PostgreSQL, you can only open one database at a time. However, if you look under contributions on the PostgreSQL, there is a utility that allows multiple databases to be used. Hope that helps.

  3. #3
    Join Date
    Jun 2004
    Location
    Arizona, USA
    Posts
    1,848
    the utility is called dblink
    Lou
    使大吃一惊
    "Lisa, in this house, we obey the laws of thermodynamics!" - Homer Simpson
    "I have my standards. They may be low, but I have them!" - Bette Middler
    "It's a book about a Spanish guy named Manual. You should read it." - Dilbert


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •