Viewing 15 posts - 16 through 30 (of 49 total)
But I have more than one stored procedure to get executed. How can we get another StoredProcedure name as variable to pass.
December 26, 2013 at 4:55 pm
I can`t get it as the stored procedure names are in a table.
Below is the SQL and attached is the SSIS pkg. The pkg runs fine for one stored procedure...
December 26, 2013 at 4:02 pm
Yes. Same format with Pipe | as delimiter.
December 26, 2013 at 1:16 pm
mickyT (9/22/2013)
I think this covers what you want to do. I suspect the performance will be poor.
WITH groupit AS (
-- Group up the Depts on data
SELECT CID, CDate, Dept,
ROW_NUMBER()...
September 22, 2013 at 8:38 pm
J Livingston SQL (9/22/2013)
etirem (9/22/2013)
One more CID=333 is added below SQL.
...
September 22, 2013 at 2:49 pm
Sorry! May be I`m not explaining it properly.
One more CID=333 is added below SQL.
IF OBJECT_ID('Tempdb..#tTable') IS...
September 22, 2013 at 2:16 pm
etirem (9/21/2013)
For the CID, the CDate is in ASC order and if Dept=C and the next row is Dept=C...and next row is...
September 21, 2013 at 4:40 pm
The Groups are created based on CDate and Dept.
For the CID, the CDate is in ASC order and if Dept=C and the next row is Dept=C...and next row is also...
September 21, 2013 at 1:43 pm
Sorry, this is the last requirement.
The values are passed to the query from a drop-down list from SSRS report.
Both drop down lists are sames values:
1Months
2Months
.
.
12Months
1Years
2Years
3Years
.
100Years
BeginAge: 2Months EndAge: 48Years
May 6, 2013 at 2:22 pm
But I have different scenarios to get the persons retrieved based on the parameters for BEGIN AGE and END AGE in WHERE Clause:
Like :
SELECT person, dob,
case when DATEDIFF(MONTH,dob,@SDate)/12>0 then...
May 6, 2013 at 1:41 pm
Yes..This is an additional requirement. I need to retrieve the Persons based on the AGE range BETWEEN months and years.
May 6, 2013 at 11:29 am
But I also need to get the persons [WHERE age BETWEEN '4 Mths' AND '12 Yrs'/code]
May 6, 2013 at 10:47 am
Thank you!!
But I also need to get the persons WHERE age BETWEEN '4 Mths' AND '12 Yrs'
.
May 4, 2013 at 10:15 am
I found the below link but I cant pass the parameters.
http://www.codeproject.com/Articles/14085/Data-Driven-Subscriptions-in-SQL-RS-2000-Standard
October 4, 2012 at 9:53 am
Viewing 15 posts - 16 through 30 (of 49 total)