Solved

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

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

NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

Question has a verified solution.

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

If you find yourself in this situation “I have used SELECT DISTINCT but I’m getting duplicates” then I'm sorry to say you are using the wrong SQL technique as it only does one thing which is: produces whole rows that are unique. If the results you a…
SQL Server engine let you use a Windows account or a SQL Server account to connect to a SQL Server instance. This can be configured immediatly during the SQL Server installation or after in the Server Authentication section in the Server properties …
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…

863 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

20 Experts available now in Live!

Get 1:1 Help Now