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

Please do the following tasks. All tasks should be in a single package

$
0
0

 

  1.  Read set of files from local folder one by one. The files have the fields "Email" and "Name".

 

  1. Transfer the data from txt file to a table called "User_Info".

This table having this field structure

Slno, Email(PK), Name, Domain, CRTD_BY, CRTD_DT, LST_UPD_BY, LST_UPD_DT

While transferring data considering the mapping

Slno -> Autogenerate

Email -> From txt file

Name - From txt file

Domain -> Derive from Email field.

CRTD_BY -> Package Name

CRTD_DT -> PackageStartDate

LST_UPD_BY -> Package Name

LST_UPD_DT -> PackageStartDate

 

  1. Check the following conditions before transferring the data to User_Info table
    • Remove duplicate records based on EMAIL field in the source.
    • Check if the Email Address from source is already added in the table. If the record is already not present in the table then insert the record.  If the record is already present then update the fields Name, LST_UPD_BY and LST_UPD_DT.

 




Viewing all articles
Browse latest Browse all 24688

Trending Articles



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