Solved

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

Posted on 2011-09-29
3
964 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

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Join & Write a Comment

This article describes how to use the timestamp of existing data in a database to allow Tableau to calculate the prior work day instead of relying on case statements or if statements to calculate the days of the week.
In this article we will get to know that how can we recover deleted data if it happens accidently. We really can recover deleted rows if we know the time when data is deleted by using the transaction log.
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

757 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now