Creating a join on tables in two different MSSQL 6.5 DB's 
Author Message
 Creating a join on tables in two different MSSQL 6.5 DB's

I need to create a resultset by joining two tables that are in
different SQL 6.5 databases.  This is not a problem with 7.0, but we
are only working with 6.5 and upgrading is not possible right now.

I am using VBEE 5.0 and RDO.  Any pointers in the right direction would
be extremely appreciated.

Thanks,

Matt Childs
Sr. Systems Analyst/Developer
Integrity Solutions Inc.

Sent via Deja.com http://www.*-*-*.com/
Before you buy.



Sat, 05 Oct 2002 03:00:00 GMT  
 Creating a join on tables in two different MSSQL 6.5 DB's

Quote:

> I need to create a resultset by joining two tables that are in
> different SQL 6.5 databases.  This is not a problem with 7.0, but we
> are only working with 6.5 and upgrading is not possible right now.
> I am using VBEE 5.0 and RDO.  Any pointers in the right direction would
> be extremely appreciated.

You could try using SQL Server's database.owner.tablename syntax to
refer to the table in the other database, but the other database has
to reside on the same server. Otherwise, you could query against an
Access MDB which contains linked TableDefs pointing to the SQL Server
tables. See DAO's Connect property to see how to do this in DAO. I
have no idea how to do it in ADO, sorry.

--

WARNING: I cannot be held responsible for the above        They're   coming  to
because  my cats have  apparently  learned to type.        take me away, ha ha!



Sat, 05 Oct 2002 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Table join between two different databases (MSSQL 6.5)

2. Table join between two tables in different databases

3. Here's a sticky wicket - joining two tables on two diffrent servers with ADO

4. Joining two tables from different databases

5. Joining two tables on different length fields

6. joining two tables from different dbs

7. Querying two recordset objects or Joining tables from different datastores

8. Joining two tables from different dbs

9. Join on two tables from different data sources?

10. Trying to bind data from two different tables to two different controls

11. Connect to 2 different SQL Server 6.5 db

12. Joining two tables from two databases

 

 
Powered by phpBB® Forum Software