?
Solved

run a stored procedure in dta flow task of ssis

Posted on 2010-08-18
7
Medium Priority
?
369 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
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.

 
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

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

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

Load balancing is the method of dividing the total amount of work performed by one computer between two or more computers. Its aim is to get more work done in the same amount of time, ensuring that all the users get served faster.
The Delta outage: 650 cancelled flights, more than 1200 delayed flights, thousands of frustrated customers, tens of millions of dollars in damages – plus untold reputational damage to one of the world’s most trusted airlines. All due to a catastroph…
Using examples as well as descriptions, and references to Books Online, show the different Recovery Models available in SQL Server and explain, as well as show how full, differential and transaction log backups are performed
Viewers will learn how to use the SELECT statement in SQL to return specific rows and columns, with various degrees of sorting and limits in place.
Suggested Courses

741 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