Solved

store qeury count in variable ssis

Posted on 2015-01-16
2
83 Views
Last Modified: 2016-02-15
Hello
Within SSIS, how can query a table for row count and then store it in a variable within the script task?
Thank you
0
Comment
Question by:Rayne
2 Comments
 
LVL 14

Accepted Solution

by:
Vikas Garg earned 500 total points
ID: 40554930
Hello,

Why you are looking for script task when this can be simply done using execute sql task

using simply Select count(1) from table

and store the single result set into variable

SSIS
0
 

Author Closing Comment

by:Rayne
ID: 40562339
thank you Vikas
0

Featured Post

Zoho SalesIQ

Hassle-free live chat software re-imagined for business growth. 2 users, always free.

Join & Write a Comment

This article explains how to reset the password of the sa account on a Microsoft SQL Server.  The steps in this article work in SQL 2005, 2008, 2008 R2, 2012, 2014 and 2016.
Outlook Free & Paid Tools
The viewer will learn how to use a discrete random variable to simulate the return on an investment over a period of years, create a Monte Carlo simulation using the discrete random variable, and create a graph to represent the possible returns over…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

746 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now