Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

SQL 2005 SSIS Script Task - Run a Query

Posted on 2006-11-09
2
Medium Priority
?
4,419 Views
Last Modified: 2013-12-25
Easy points:

How about an example of how to run a SQL query from within an SQL 2005 SSIS Script Task using an existing connection?

Thanks
0
Comment
Question by:kwebster7327
2 Comments
 
LVL 75

Accepted Solution

by:
Anthony Perkins earned 1500 total points
ID: 17923649
Check this link out:
The ExecuteSQL Task
http://www.sqlis.com/default.aspx?58
0
 
LVL 1

Author Comment

by:kwebster7327
ID: 17923886
That's useful (I'll definitely bookmark it), but I need to run a couple queries from <B>within</B> a VBScript task. Seems like a lot of effort to have to load up variables, jump out to a SQL task (or two), then jump back into another VBScript task. Actually, my scenario would require a flow likescript->SQL->script->SQL->script.

You'll get the points if nobody else comes up with a more spot-on answer- just for that link.
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

Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Suggested Courses

926 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