Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
DB Engine
SQL ServerMSDESQL Server CE
Services
Analysis (Data Mining)Analysis (OLAP)DTSIntegration ServicesNotification ServicesReporting Services
Programming
CLRConnectivitySQLXML
Other Technologies
ClusteringEnglish QueryFull-Text SearchReplicationService Broker
General
Data WarehousingPerformanceSecuritySetupSQL Server ToolsOther SQL Server Topics
DirectoryUser Groups
Related Topics
MS AccessOther DB ProductsMS Server Products.NET DevelopmentVB DevelopmentJava DevelopmentMore Topics ...

SQL Server Forum / DB Engine / SQL Server / October 2007

Tip: Looking for answers? Try searching our database.

anyone good with Integration services

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Paul - 31 Oct 2007 16:44 GMT
Hi I have a simple package I am putting together.  The package runs a query
on an SQL database (database1) and the results are then copied over to
another SLQ database (database2).  I have this set up and it works.  I am
trying to add another element that will update a table in database1 as long
as the transfer is successful. I also have a script in the control flow that
writes out a message, success! and this seems to work.
Anyhow not quite sure how what to add to update database1 if the transfer is
successful--
thanks.
Paul G
Software engineer.
Maninder - 31 Oct 2007 17:29 GMT
> Hi I have a simple package I am putting together.  The package runs a query
> on an SQL database (database1) and the results are then copied over to
[quoted text clipped - 7 lines]
> Paul G
> Software engineer.

Try Adding a Execute SQL Task as control flow and define your update
Query in the task. change the precedence to success beoe this task.
Paul - 31 Oct 2007 17:46 GMT
Hi thanks that seemed to do the trick.  I currently a script task on success
and on failure well that writes out a corresponding message.  I was wondering
if you know if there is a way to include the number of records updated from
one of the tasks in the message?  It would have to be retreived in the
script?  Also are the event handlers for any event in a control flow?
Signature

Paul G
Software engineer.

> > Hi I have a simple package I am putting together.  The package runs a query
> > on an SQL database (database1) and the results are then copied over to
[quoted text clipped - 10 lines]
> Try Adding a Execute SQL Task as control flow and define your update
> Query in the task. change the precedence to success beoe this task.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.