[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now

x
?
Solved

run a stored procedure in dta flow task of ssis

Posted on 2010-08-18
7
Medium Priority
?
373 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
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 2000 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

In this article we will learn how to fix  “Cannot install SQL Server 2014 Service Pack 2: Unable to install windows installer msi file” error ?
What if you have to shut down the entire Citrix infrastructure for hardware maintenance, software upgrades or "the unknown"? I developed this plan for "the unknown" and hope that it helps you as well. This article explains how to properly shut down …
Via a live example combined with referencing Books Online, show some of the information that can be extracted from the Catalog Views in SQL Server.
Via a live example, show how to setup several different housekeeping processes for a SQL Server.

650 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