Viewing 15 posts - 1,546 through 1,560 (of 3,507 total)
Why not play with each one and decide for yourself? R support is already built into SQL Server.
May 29, 2017 at 11:49 pm
I got the chunks apart... So I guess it's a place to start. You need Jeff's string splitter function for this, which is here. And here's my code......
May 29, 2017 at 11:27 pm
May 26, 2017 at 11:50 am
Got it to work... probably a kludge, but ...Summarized in T-SQL first:SELECT SalesRep
, SUM(Sales2016) AS Total2016
, SUM(Sales2017) AS Total2017
, SUM(Sales2017) - SUM(Sales2016) AS Delta
May 25, 2017 at 9:48 pm
In a t-sql 2012 database, I am suppose to count the number of times...
May 25, 2017 at 8:48 pm
That's a drilldown report. It's covered in Brian Larson's book... and probably all over the place. Here's a super quick video on YouTube.
May 25, 2017 at 3:18 pm
Okay, just tried it with my own dataset. Turns out, I can't find a way to sort on an aggregated column in a matrix.
So if you base your...
May 25, 2017 at 3:01 pm
Don't think you need a new dataset. What you're describing sounds like you need a Matrix on your report.
Group on [Diagnosis Code], then at the intersection, do COUNT().
You...
May 23, 2017 at 12:28 pm
Got Google?
May 20, 2017 at 9:15 pm
Did you look up the differences between DECIMAL, MONEY, and SMALLMONEY?
May 20, 2017 at 7:05 pm
Did you look up the difference between SMALLMONEY and MONEY datatypes? MONEY should work fine.
May 20, 2017 at 5:10 pm
Don't use BETWEEN with Times. use <. >
SELECT *
FROM MyTable
WHERE EventDate < @SomeTime AND EventDate>=DATEADD(minute,-10,@SomeTime)
May 20, 2017 at 6:18 am
What do you consider "unique messages"? Do you mean something like "common sentences"? I would probably use Jeff's splitter function and write the results to at least a temporary table...
May 19, 2017 at 4:19 pm
SELECT TabA.Col1, TablA.Col2, TabA.Col3, TabB.X, TabB.Y
FROM TabA CROSS JOIN TabB
May 18, 2017 at 12:24 am
Viewing 15 posts - 1,546 through 1,560 (of 3,507 total)