Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

Hello,

 

Is it possible to join two tables on two separate oracle databases?

 

I would like to have two connections to two databases and execute a query joining two tables in each db.

 

Dim connString1 As String = "Data Source=ds1;etc.."

Dim connString2 As String = "Data Source=ds2;etc.."

 

Dim conn As New System.Data.OracleClient.OracleConnection(connString1)

Dim conn2 As New System.Data.OracleClient.OracleConnection(connString2)

 

Is this possible?

 

Thanks,

 

Burak

Posted

I presume you know the schema of these tables?

 

you create a DataAdapter for each table.

map the columns to a table you set up in your DataSet.

(different mapping for each Oracle table I suppose)

 

then Fill the same DataTable (the one mapped to the DataAdapters)

with each DataAdapter.

IN PARVUM MULTUM

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...