Re: [SQL] how to refer to tables in another database( or schema)

2002-08-25 Thread Mark Stosberg
On Mon, 19 Aug 2002, Stephan Szabo wrote: > On Mon, 19 Aug 2002, Jiaqing wrote: > > > Hello, > > I'm still new here and new to PostgreSQL, I'd like to know that after I > > have created two databases on my site, such as one is called backend, and > > another one is called admin, how do I refer(qu

Re: [SQL] how to refer to tables in another database( or schema as

2002-08-19 Thread Stephan Szabo
On Mon, 19 Aug 2002, Jiaqing wrote: > Hello, > I'm still new here and new to PostgreSQL, I'd like to know that after I > have created two databases on my site, such as one is called backend, and > another one is called admin, how do I refer(query) the table from backend > while I'm connected to a

Re: [SQL] how to refer to tables in another database( or schema as oracle refers to)

2002-08-19 Thread Graeme Merrall
> Basically - you can't. There is a program in the contrib/dblink directory > that can help you though. > My take on this dblink program is to create SQL as a view. For example coming from Oracle you might do "SELECT one, two, FROM foo.bar". Convert that to a VIEW called simply "bar" or "foo_ba

Re: [SQL] how to refer to tables in another database( or schema as oracle refers to)

2002-08-19 Thread Christopher Kings-Lynne
3 AM > To: [EMAIL PROTECTED] > Subject: [SQL] how to refer to tables in another database( or schema as > oracle refers to) > > > Hello, > I'm still new here and new to PostgreSQL, I'd like to know that after I > have created two databases on my site, such as one is called b

[SQL] how to refer to tables in another database( or schema as oracle refersto)

2002-08-19 Thread Jiaqing
Hello, I'm still new here and new to PostgreSQL, I'd like to know that after I have created two databases on my site, such as one is called backend, and another one is called admin, how do I refer(query) the table from backend while I'm connected to admin database, or is it possible to do that