Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Connection string to two different servers

Status
Not open for further replies.

sabavno

Programmer
Jul 25, 2002
381
CA
Hi,

I need to connect to 2 SQL Servers and then join tables in my SQL strings.

Can anybody suggest the connection string as well as how would I join the tables from the different SQL Servers?

I'd appreciate your help

Thanks.
 
An ODBC connection is linked to ONE server so I don't think you'll can do what you want that way. By the way, can't you join SQL server B into the DB from SQL server A (by a view for exemple) and then let SQL server A do the join for you. You'll then just have to connect SQL A in ASP (That can be easier for maintenance). Water is not bad as long as it stays out human body ;-)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top