Обсуждение: cross database references...

Поиск
Список
Период
Сортировка

cross database references...

От
Jessica Richard
Дата:
Other than dblink, is there any other way to let me joint select two tables in two different databases?

Thanks,
Jessica


Park yourself in front of a world of choices in alternative vehicles.
Visit the Yahoo! Auto Green Center.

Re: cross database references...

От
"Joshua D. Drake"
Дата:
Jessica Richard wrote:
> Other than dblink, is there any other way to let me joint select two
> tables in two different databases?

dbi-link.

>
> Thanks,
> Jessica
>
> ------------------------------------------------------------------------
> Park yourself in front of a world of choices in alternative vehicles.
> Visit the Yahoo! Auto Green Center.
>
<http://us.rd.yahoo.com/evt=48246/*http://autos.yahoo.com/green_center/;_ylc=X3oDMTE5cDF2bXZzBF9TAzk3MTA3MDc2BHNlYwNtYWlsdGFncwRzbGsDZ3JlZW4tY2VudGVy>

>


--

       === The PostgreSQL Company: Command Prompt, Inc. ===
Sales/Support: +1.503.667.4564 || 24x7/Emergency: +1.800.492.2240
Providing the most comprehensive  PostgreSQL solutions since 1997
              http://www.commandprompt.com/

Donate to the PostgreSQL Project: http://www.postgresql.org/about/donate
PostgreSQL Replication: http://www.commandprompt.com/products/


Re: cross database references...

От
Scott Marlowe
Дата:
Jessica Richard wrote:
> Other than dblink, is there any other way to let me joint select two
> tables in two different databases?

Would schemas work for you?  You can have multiple schemas in one
database (like oracle) so that you references tables as
schemaname.tablename etc...  Works well for most places you need to do this.

Re: cross database references...

От
Jessica Richard
Дата:
scheams work fine in ONE db, I need to have two databass and they need to able to talk to eacher, dblink funciton is working fine for me now, I am just wondering if there is any other better way than dblink...

Thanks,
Jessica

Scott Marlowe <smarlowe@g2switchworks.com> wrote:
Jessica Richard wrote:
> Other than dblink, is there any other way to let me joint select two
> tables in two different databases?

Would schemas work for you? You can have multiple schemas in one
database (like oracle) so that you references tables as
schemaname.tablename etc... Works well for most places you need to do this.


Bored stiff? Loosen up...
Download and play hundreds of games for free on Yahoo! Games.