J
Joel Zinn
I am working on a project where we need to join data from a SQL Server db
with data from Oracle. I have searched and have not found any good method
to accomplish this.
Here is what I have to work with:
User table in SQL Server with Names, addresses, etc. The key is UserID
Asset table in Oracle with info about a specific asset. One of the columns
is UserID.
I need to query the Asset table and return a set of rows, but I also need
the User Name, etc from the User table. I assume I can get the return set
from the Asset table and then in the same dataset create a table for the
User info and then do a "Relationship join" in the dataset. I am not sure
the best way to write the quey to pull the rows from the User table. I
assume it would be to use "Where UserID in (....)", but not even sure the
best way to create the string and plug it into the query, but I am concerned
about the overhead.
If anyone has any ideas on how best to do this, I would certainly appreciate
it.
with data from Oracle. I have searched and have not found any good method
to accomplish this.
Here is what I have to work with:
User table in SQL Server with Names, addresses, etc. The key is UserID
Asset table in Oracle with info about a specific asset. One of the columns
is UserID.
I need to query the Asset table and return a set of rows, but I also need
the User Name, etc from the User table. I assume I can get the return set
from the Asset table and then in the same dataset create a table for the
User info and then do a "Relationship join" in the dataset. I am not sure
the best way to write the quey to pull the rows from the User table. I
assume it would be to use "Where UserID in (....)", but not even sure the
best way to create the string and plug it into the query, but I am concerned
about the overhead.
If anyone has any ideas on how best to do this, I would certainly appreciate
it.