Re: Query across two databases on the same server

2004-03-25 Thread Ed Reed
db1.table.field, db2.table.field > where > db1.table.someotherfield = db2.table.someotherfield > > Peter > >> -Original Message----- >> From: Ed Reed [mailto:[EMAIL PROTECTED] >> Sent: 24 March 2004 23:45 >> To: [EMAIL PROTECTED] >> Subject: Query across

Re: Query across two databases on the same server

2004-03-25 Thread Hassan Schroeder
Ed Reed wrote: yea, I thought it would be that easy too but it doesn't work. Other than the fact that the given example needs a "FROM" clause, sure it works. What exactly are you trying and what is the exact "incorrect" result? select db1.table.field, db2.table.field FROM db1.table, db2.table w

Re: Query across two databases on the same server

2004-03-25 Thread Michael Stassen
er -Original Message- From: Ed Reed [mailto:[EMAIL PROTECTED] Sent: 24 March 2004 23:45 To: [EMAIL PROTECTED] Subject: Query across two databases on the same server Is there any way to have a single select statement that can do a join across two databases on the same server? Thanks

Re: Query across two databases on the same server

2004-03-25 Thread Egor Egorov
3 PM >>> > > select > db1.table.field, db2.table.field > where > db1.table.someotherfield = db2.table.someotherfield > > Peter > >> -Original Message- >> From: Ed Reed [mailto:[EMAIL PROTECTED] >> Sent: 24 March 2004 23:45 >> To:

RE: Query across two databases on the same server

2004-03-25 Thread Ed Reed
-Original Message- > From: Ed Reed [mailto:[EMAIL PROTECTED] > Sent: 24 March 2004 23:45 > To: [EMAIL PROTECTED] > Subject: Query across two databases on the same server > > > Is there any way to have a single select statement that can do a join > across two databas

RE: Query across two databases on the same server

2004-03-24 Thread Peter Lovatt
select db1.table.field, db2.table.field where db1.table.someotherfield = db2.table.someotherfield Peter > -Original Message- > From: Ed Reed [mailto:[EMAIL PROTECTED] > Sent: 24 March 2004 23:45 > To: [EMAIL PROTECTED] > Subject: Query across two databases on the same se

Query across two databases on the same server

2004-03-24 Thread Ed Reed
Is there any way to have a single select statement that can do a join across two databases on the same server? Thanks