Viewing 3 posts - 46 through 48 (of 48 total)
I want to capture the # of rows returned to an SSIS Variable in Execute SQL Task . As it is returning nothing I get an error in SSIS like...
April 16, 2012 at 10:02 am
#1474152
true, I want sum(a) in the query that is why I'm using a group by there. Below is the exact query I'm trying.
select sum(a) from dbo.test group by b having...
April 16, 2012 at 9:56 am
#1474139
Here b has "date" data type. Below is the query I tried. Still no result set.
select * from dbo.test group by b,a having b=CONVERT(date,getdate())
The above query returned when condition is...
April 16, 2012 at 9:52 am
#1474133