Viewing 15 posts - 3,166 through 3,180 (of 8,731 total)
Use cross tabs with the OVER clause.
SELECT *,
SUM(CASE WHEN Status = 'Passed' THEN NumberOfTasks ELSE 0 END) OVER(PARTITION BY Cycle) AS [Passed],
SUM(CASE...
March 21, 2016 at 10:02 am
Check the defaults for your parameters or avoid your report from executing automatically.
March 21, 2016 at 9:51 am
The error indicates problems when creating your dates. Try this formulas instead.
set @START_DATE = DATEADD(MM, @START_MONTH - 1, @START_YEAR);
set @END_DATE = DATEADD(MM, CAST(@END_MONTH AS int), @END_YEAR);
Review the parameters you're sending...
March 21, 2016 at 8:18 am
Eirikur Eiriksson (3/21/2016)
Brandie Tarvin (3/21/2016)
For those of you with standing desks, ArsTechnica says it may not be helping[/url] you at all.😎
Now, that's a great idea. I'm not...
March 21, 2016 at 8:08 am
Jeff Moden (3/18/2016)
Luis Cazares (3/18/2016)
March 18, 2016 at 10:01 pm
Eirikur Eiriksson (3/18/2016)
Luis Cazares (3/18/2016)
Eirikur Eiriksson (3/18/2016)
Luis,you might be chasing Red Herrings here, does this happen just after the full backups?
😎
Define "just after the full backups". It happens when the...
March 18, 2016 at 3:02 pm
If you're using a query, you could get the calculation there.
COUNT(DISTINCT wh) OVER(PARTITION BY Name, OrderNum) AS WH_Count
I'm not sure how to do it in SSRS.
March 18, 2016 at 2:49 pm
Eirikur Eiriksson (3/18/2016)
Luis,you might be chasing Red Herrings here, does this happen just after the full backups?
😎
Define "just after the full backups". It happens when the query is first run...
March 18, 2016 at 2:43 pm
I haven't met a read-only database, so you could probably compare backups.
March 18, 2016 at 11:12 am
I agree with all that has been said. But, maybe you could make it work implementing Full-Text Search? This is only if you already have problems with this data, if...
March 18, 2016 at 11:03 am
spaghettidba (3/18/2016)
Luis Cazares (3/18/2016)
I prefer to use a nice pattern instead of learning ASCII values. But that's just me. 😀
Me too, but for some reason it didn't catch all the...
March 18, 2016 at 8:01 am
Just a word of advice.
This will become annoying in the future, you'll end with hundreds of tables all with the same structure. You'd be better by creating a table with...
March 18, 2016 at 7:04 am
I prefer to use a nice pattern instead of learning ASCII values. But that's just me. 😀
SELECT *
FROM @sampleData AS s
CROSS APPLY (
SELECT Name = (
SELECT SUBSTRING(s.name, number, 1) AS...
March 18, 2016 at 6:59 am
g.maxfield (3/18/2016)
March 18, 2016 at 6:53 am
rcooper 78099 (3/17/2016)
You said: You're missing the closing parenthesis for your cte.
You also have an additional semi-colon at the start and a missing semi-colon at the end of your...
March 17, 2016 at 3:22 pm
Viewing 15 posts - 3,166 through 3,180 (of 8,731 total)