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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Join Condition in DTS Package

Status
Not open for further replies.

CrystalUser1

Programmer
Sep 16, 2004
138
US
Hi,

I created a DTS Package to migrate the data from one database to another database.

I need to migrate the data from source database which has two tables to destination database which has only one table.

source database tables

Employee table

ID
Name


Address Table

ID
Address

Destination DAtabase Table:

Employee

ID
Name
Address


I want to migrate the data from the two tables to one table. how to write the join query in the Execute Task or Transform Data Tasks?

where Employee.ID=Address.ID

please help.

thanks
 
specify the query:
Code:
select e.ID,e.Name,A.Address
from employee e,address a
where e.id = a.id

[bandito] [blue]DBomrrsm[/blue] [bandito]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top