﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>SQLServerCentral / SQL Server 2005 / SQL Server 2005 Strategies  / How do you use parameters in SSIS lookup functionality / Latest Posts</title><generator>InstantForum.NET v2.9.0</generator><description>SQLServerCentral</description><link>http://www.sqlservercentral.com/Forums/</link><webMaster>notifications@sqlservercentral.com</webMaster><lastBuildDate>Fri, 24 May 2013 21:08:39 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: How do you use parameters in SSIS lookup functionality</title><link>http://www.sqlservercentral.com/Forums/Topic880934-361-1.aspx</link><description>You might consider sharing the answer!</description><pubDate>Wed, 22 Aug 2012 09:03:51 GMT</pubDate><dc:creator>Ron Patrick-327855</dc:creator></item><item><title>RE: How do you use parameters in SSIS lookup functionality</title><link>http://www.sqlservercentral.com/Forums/Topic880934-361-1.aspx</link><description>I've figured this out by utilizing the Advanced Tab on the function and modifying the SQL. Thanks!</description><pubDate>Thu, 11 Mar 2010 12:33:30 GMT</pubDate><dc:creator>mikelordi2</dc:creator></item><item><title>How do you use parameters in SSIS lookup functionality</title><link>http://www.sqlservercentral.com/Forums/Topic880934-361-1.aspx</link><description>Hi everybody...I"m new to SSIS, a tool my company is making us use primarily as a DTS tool. What I'm trying to do is use a flat file as the input, perform transformations and pass it to a Sybase table.  Where I am stuck is in addition to performing manipulations such as dates, etc, we need to update and add data from a variety of lookup tables.  The problem is I need to pass parameters into the lookup as I have a one to many error if I don't.I am trying to take the field "ReinsuranceDate" from the flat file (after converted of course) and using fields "Min_Pol_Dt" and "Max_Pol_Dt" in a lookup table called "PlanCode", add in fields from the "PLaCode" tabel to be mapped, but only where the Reinsurance Date is between the Min_Pol_Dt and Max_pol_dt.I think I am supposed to update the SQL in the advanced tab of the lookup, but I can't figure out how to pass the field I need through. Here is the SQL from the advanced tab as is (I am matching on those three fields)select * from	(select * from `PlanCode`) as refTablewhere [refTable].[ClientCompanyCode] = ? and [refTable].[ClientTreatyNumber] = ? and [refTable].[ClientPlanCode] = ?</description><pubDate>Thu, 11 Mar 2010 06:29:45 GMT</pubDate><dc:creator>mikelordi2</dc:creator></item></channel></rss>