Solved

run a stored procedure in dta flow task of ssis

Posted on 2010-08-18
7
354 Views
Last Modified: 2013-11-10
Hi All,

Currently I am running a stored procedure in a oledb command and using the output in my other tasks .

My stored procedure updates a column by one number in a loop but oledb command does only one row per dataset.its resulting the same barcode number to all columns.

so i need to know a way to run my stored procedure in data flow and capture results.
0
Comment
Question by:kakarlapudidivya
  • 3
  • 2
  • 2
7 Comments
 
LVL 16

Expert Comment

by:vdr1620
ID: 33469167
You can use

SET FMTONLY OFF
SET NOCOUNT ON

Exec StoredProcedureName

that would run similar to any select statement
0
 

Author Comment

by:kakarlapudidivya
ID: 33469316
can we run 2 stored procedures in a ooledb command

if yes then how???
0
 
LVL 16

Expert Comment

by:vdr1620
ID: 33469342
No, you cannot run two stored procedures in a ole db command
0
VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

 
LVL 30

Expert Comment

by:Reza Rad
ID: 33469442
look at my post here:
http://rad.pasfu.com/index.php?/archives/24-Output-Parameter-of-Stored-Procedure-In-OLE-DB-Command-SSIS.html

does it what you looking for exactly?
if not explain more about what you want to do
0
 
LVL 30

Accepted Solution

by:
Reza Rad earned 500 total points
ID: 33469451
you can combine two stored procedure in one stored procedure, and run it by an OLE DB Command also if you need.
0
 

Author Comment

by:kakarlapudidivya
ID: 33469573
I exactly did the same thing bu caling one rocedure in to another adn i worked fine

thanks
0
 
LVL 30

Expert Comment

by:Reza Rad
ID: 33469606
your welcome,
Regards,

0

Featured Post

Control application downtime with dependency maps

Visualize the interdependencies between application components better with Applications Manager's automated application discovery and dependency mapping feature. Resolve performance issues faster by quickly isolating problematic components.

Question has a verified solution.

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

Suggested Solutions

Slowly Changing Dimension Transformation component in data task flow is very useful for us to manage and control how data changes in SSIS.
Ever needed a SQL 2008 Database replicated/mirrored/log shipped on another server but you can't take the downtime inflicted by initial snapshot or disconnect while T-logs are restored or mirror applied? You can use SQL Server Initialize from Backup…
Familiarize people with the process of utilizing SQL Server functions from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Ac…
Using examples as well as descriptions, and references to Books Online, show the documentation available for datatypes, explain the available data types and show how data can be passed into and out of variables.

864 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

19 Experts available now in Live!

Get 1:1 Help Now