How do you call a package from a stored procedure?

Posted on 2014-11-13
Last Modified: 2016-02-13
How do you call a package from a stored procedure?
Question by:LeVette Alexander
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

Expert Comment

ID: 40440635
I call from ASP.NET code behind, but you should be able to do the same using this format....

Create a SQL Server Agent Job

Create procedure to execute:

Open in new window

LVL 75

Accepted Solution

Aneesh Retnakaran earned 500 total points
ID: 40440650

Author Comment

by:LeVette Alexander
ID: 40440812
I'm using sql server 2008 r2.  I'm calling the package from a share and passing three variables to the package.
The Ultimate Checklist to Optimize Your Website

Websites are getting bigger and complicated by the day. Video, images, custom fonts are all great for showcasing your product/service. But the price to pay in terms of reduced page load times and ultimately, decreased sales, can lead to some difficult decisions about what to cut.


Author Comment

by:LeVette Alexander
ID: 40440844
error is dtexec is not recognized as an internal or external command
LVL 75

Expert Comment

by:Aneesh Retnakaran
ID: 40440928
you need to provide the exact path. do a search on windows on the server and find the path

Author Comment

by:LeVette Alexander
ID: 40441091
Aneesh, your first solution assisted me.

Featured Post

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

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

Why is this different from all of the other step by step guides?  Because I make a living as a DBA and not as a writer and I lived through this experience. Defining the name: When I talk to people they say different names on this subject stuff l…
This article will inform Clients about common and important expectations from the freelancers (Experts) who are looking at your Gig.
Six Sigma Control Plans
Starting up a Project

689 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