Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
Dear Friends,
Pls Help. I want to write an sql statement which makes use of 2 tables in 2 different databases. How do I write the connection string.Pls Help
Thanx
Mala

set 2 different connecction to database.. and declare 2 diff statement .. it should do nicely.. remember to close the connection and statement. hope it helps..

Dear Daniel,
Thanx for ur reply. But I have got only one Sql Statement, which makes use of 2 tables in 2 different databases. Suppose we have got connection1 and connection2 , but in the statement we either givers_tmp.Open sql1, connection1, adOpenKeyset, adLockOptimistic
or
rs_tmp.Open sql1, connection2, adOpenKeyset, adLockOptimistici want to use 2 tables in one sql statement.
Thanx for ur reply.
Pls help me.
Thanx
Mala

![]() |
![]() |
![]() |

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |