Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Author |
Topic |
Sifu
Starting Member
8 Posts |
Posted - 2007-01-08 : 20:33:11
|
Hi Everyone,I have created a SSIS pakage using the Lookup transformation in SSIS. The package seems to run too long (over 2 hours and still running)for a source table having records for 134 records and lookup table having just over 4000 records.The two tables table are join using a key id mkmodyr, that is:source table lookup tablefield1 fld1field2 fld2field3 fld3field4 mkmoyrfield5field6mkmoyr...field12The sql statement in the Lookup Transformation editor is:select * from (select * from [dbo].[year_derived_series]) as refTablewhere [refTable].[mkmodyr] = ?The package bring all fields from the source table and one field from the lookup table into a new table.Can anyone please help or let me know what I've done wrong? I would be appreciated.Thanks in advance. |
|
|
|
|