﻿<?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 Integration Services  / Matched and Unmatched Rows in ssis 2005 / 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 09:50:46 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: Matched and Unmatched Rows in ssis 2005</title><link>http://www.sqlservercentral.com/Forums/Topic1368809-148-1.aspx</link><description>Option - 1: You can make use of LookUp and Condition Split Transformation to achive this.Option - 2: You can do this by Creating a Procedure. A. Load all the data's to Staging Table.B. Create Procedure and load latest data's, by Comparing Staging and Fact table data's and then load the latest data's.</description><pubDate>Wed, 10 Oct 2012 00:40:53 GMT</pubDate><dc:creator>sqlusers</dc:creator></item><item><title>RE: Matched and Unmatched Rows in ssis 2005</title><link>http://www.sqlservercentral.com/Forums/Topic1368809-148-1.aspx</link><description>Thanks Rhythmk..I have loaded unmatched data via ErroroutputRegardsSqlstud</description><pubDate>Wed, 10 Oct 2012 00:31:44 GMT</pubDate><dc:creator>sqlstud</dc:creator></item><item><title>RE: Matched and Unmatched Rows in ssis 2005</title><link>http://www.sqlservercentral.com/Forums/Topic1368809-148-1.aspx</link><description>[quote][b]sqlstud (10/4/2012)[/b][hr]Hi,Need to transfer data from database Db1 (Db1.sampletab1) to database Db2 (Db2.sampletab2) using ssis 2005.Condition:If matched data, leave as it is.If unmatched data, then insert the records into DB2.sampletab2 Is this possible in SSIS 2005? If yes, could you please let me know the steps?CREATE TABLE [dbo].[sampletab1]([pKey] [int] IDENTITY(1,1) NOT FOR REPLICATION NOT NULL,[SasId] [nvarchar](max) NULL,[Name] [nvarchar](max) NULL,[TypeId] [nvarchar](max) NULL,[UserName] [nvarchar](max) NULL,[CreatedDateTime] [datetime] NULL,[CompletedDateTime] [datetime] NULL,[Boolean] [bit] NULL,) insert into sampletab1 values('sdf','werwer','s233','xzfdsdf',12/11/2011,14/11/2011,'TRUE')RegardsSqlStud[/quote]Very much possible.You can simply handle it by writing except query or you can also use conditional split.However few query here.1. How you are recognising new record means what is the unique field.2. Why are you leaving existing record as in ideal scenario we usually update the old records i.e. genearally we use UPINSERT logic for this type of scenario.</description><pubDate>Thu, 04 Oct 2012 22:56:44 GMT</pubDate><dc:creator>rhythmk</dc:creator></item><item><title>Matched and Unmatched Rows in ssis 2005</title><link>http://www.sqlservercentral.com/Forums/Topic1368809-148-1.aspx</link><description>Hi,Need to transfer data from database Db1 (Db1.sampletab1) to database Db2 (Db2.sampletab2) using ssis 2005.Condition:If matched data, leave as it is.If unmatched data, then insert the records into DB2.sampletab2 Is this possible in SSIS 2005? If yes, could you please let me know the steps?CREATE TABLE [dbo].[sampletab1]([pKey] [int] IDENTITY(1,1) NOT FOR REPLICATION NOT NULL,[SasId] [nvarchar](max) NULL,[Name] [nvarchar](max) NULL,[TypeId] [nvarchar](max) NULL,[UserName] [nvarchar](max) NULL,[CreatedDateTime] [datetime] NULL,[CompletedDateTime] [datetime] NULL,[Boolean] [bit] NULL,) insert into sampletab1 values('sdf','werwer','s233','xzfdsdf',12/11/2011,14/11/2011,'TRUE')RegardsSqlStud</description><pubDate>Thu, 04 Oct 2012 22:22:43 GMT</pubDate><dc:creator>sqlstud</dc:creator></item></channel></rss>