Quantcast
Channel: SQL Server Integration Services forum
Viewing all articles
Browse latest Browse all 24688

Update Destination Table with out primary key

$
0
0

Hi to all,

I have a problem to update and insert records in destination table.

My problem :

I have source table having following data

PIDPNAME JOBADDRESS

1AAA XXLOC1

2BBB ZZLOC2

3CCC XXLOC3

4DDD ZZLOC1

-----------------------------------------------------

This source table data load into the Destination table

PIDPNAME JOBADDRESS

1AAA XXLOC1

2BBB ZZLOC2

3CCC XXLOC3

4DDD ZZLOC1

--------------------------------------------------

SO i insert a new record in source table

PIDPNAME JOBADDRESS

5eee xxLOC1

--------------------------------------------

so i run package it load to the data into the destination table having new record

PIDPNAME JOBADDRESS

1AAA XXLOC1

2BBB ZZLOC2

3CCC XXLOC3

4DDD ZZLOC1

5eee xxLOC1

------------------------------------------------

i insert record in source table a record

1AAA XXLOC2

-----------------------------------------------

now the Destination table update the record in place of the 

1AAA XXLOC1

change to 

1AAA XXLOC2

--------------------------

so pales give the solution of the problem

------------------------------------


sreekanth kancharla


Viewing all articles
Browse latest Browse all 24688

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>