Wrox Programmer Forums
Go Back   Wrox Programmer Forums > SQL Server > SQL Server 2005 > SQL Server 2005
|
SQL Server 2005 General discussion of SQL Server *2005* version only.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the SQL Server 2005 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old July 2nd, 2007, 11:50 PM
Registered User
 
Join Date: Jul 2007
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to pravasis
Default related to look up transformation.

hi all,

              if i want to join two tables and populate data into an oledb destination which option will be better

    from performance point of view?

1. using look up transformation

2.writing join query in oledb source using sql command option.


 
Old July 9th, 2007, 11:06 PM
SQLScott's Avatar
Wrox Author
 
Join Date: Dec 2004
Posts: 338
Thanks: 0
Thanked 2 Times in 2 Posts
Default

Both accomplish the same thing, but writing a join query gives you more flexibility, or control, than a lookup transformation (in my opinion). Plus, there are pros and cons to each. With a lookup transformation, everyting is encapsolated within SQL. Good plus. Equally, SQL also handles all the connection stuff, whereas if you an oledb source, you have write and control all the connection stuff.

So, there are tradeoffs.

I'm not an SSIS guru so someone else might tell you differently. I think you best bet is to try both and see what suits your needs the best.

Hope this helps...


Scott Klein
Author - Professional SQL Server 2005 XML
http://www.wrox.com/WileyCDA/WroxTit...764597922.html





Similar Threads
Thread Thread Starter Forum Replies Last Post
XSL-Transformation atulshin XSLT 4 September 15th, 2008 06:37 AM
Help on XSLT transformation li72 XSLT 2 February 22nd, 2008 12:33 PM
using transformation KieshaJ310 ASP.NET 2.0 Basics 2 June 6th, 2007 05:56 AM
transformation on set of related tables? peckli SQL Server DTS 1 March 3rd, 2004 12:21 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.