Solved

How to use SSIS to update a table in SQL Server 2008

Posted on 2011-09-29
3
968 Views
Last Modified: 2012-05-12
What SSIS componite do you use to update a SQL Server 2008 table? How do you? Please dont just say use a sript task.. tell me how?
0
Comment
Question by:cheryl9063
3 Comments
 
LVL 22

Accepted Solution

by:
PedroCGD earned 300 total points
ID: 36813964
Inside a Data Flow use the OLE DB Command!
In the SQL Statment use the following syntax EXEC MyStoredProcedure ?,?,?,?
Helped?
regards,
Pedro
0
 
LVL 18

Assisted Solution

by:x-men
x-men earned 100 total points
ID: 36813979
open the "package.dtsx"

insert a "Execute SQL Task" - in properties - General - SQL Statement: write your INSERT T-SQL statement
0
 
LVL 11

Assisted Solution

by:SThaya
SThaya earned 100 total points
ID: 36890563
Hi ,

  1. you can use update statement in "Execute SQL Task"  
  2. using Slowly changing diamension , you can achive new record insertion /updation in the existing record
 3. use the Look up transfermation , consider unmatching rows as  insert and redirect the matching rows with the update statement in "Execute SQL Task"
0

Featured Post

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this article I will describe the Copy Database Wizard method as one possible migration process and I will add the extra tasks needed for an upgrade when and where is applied so it will cover all.
How to leverage one TLS certificate to encrypt Microsoft SQL traffic and Remote Desktop Services, versus creating multiple tickets for the same server.
In a recent question (https://www.experts-exchange.com/questions/28997919/Pagination-in-Adobe-Acrobat.html) here at Experts Exchange, a member asked how to add page numbers to a PDF file using Adobe Acrobat XI Pro. This short video Micro Tutorial sh…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

786 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question