Celebrate National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

SQL 2005 SSIS Script Task - Run a Query

Posted on 2006-11-09
2
Medium Priority
?
4,418 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
[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
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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…
Suggested Courses

730 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