Viewing 15 posts - 1,921 through 1,935 (of 3,500 total)
Hope you're okay with ugly...
SELECT ID
, col
, rn
FROM
(
SELECT ID
, Col
, Prefix
, NumPart
, ROW_NUMBER() OVER (PARTITION BY Prefix ORDER BY NumPart DESC) AS rn
FROM (
SELECT ID
, col
, LEFT(col,1) AS Prefix
, CAST(RIGHT(col,2)...
May 18, 2016 at 10:03 pm
Steve,
See if Kevin Boles has any horror stories that aren't confidential. =)
May 18, 2016 at 10:01 pm
Use a Tally table and a deliberate cross join?
May 18, 2016 at 8:32 pm
how would I query just those people who are assigned to just the AMB facility? --- kinda contradicts your subject question... but anyway...
If you're filtering for a single value, you...
May 18, 2016 at 7:53 pm
I don't know of one. Shouldn't be very hard to write. It might be something like:
Device--(M,1)--IPAddress
and then you'd have location, deviceType, etc about each device. Not a...
May 18, 2016 at 3:13 pm
tracking net IP addresses how? are you one of the poor souls using static IP?
Could you be more specific? Sounds like you need a BYTE for each octet, and then...
May 18, 2016 at 2:13 pm
May 18, 2016 at 12:53 pm
If there is no data in any of the left join columns, I do not want to display data on the report.
Then why not use an inner join?
May 17, 2016 at 8:56 pm
I was looking around to see if I could answer your question, but what I found is that v1 may not work with SSRS 2014.
Check out this article.
May 17, 2016 at 1:12 pm
Damian,
can someone create a stored procedure that brings all the data together into one dataset? I suppose you could write a stored procedure that creates a temporary table and...
May 16, 2016 at 2:18 pm
Sounds like you could use a subscription to do this. That will handle sending the reports to each user. If you're not using Enterprise, you can use Jason Selburg's...
May 16, 2016 at 1:15 pm
You can't store "spaces" in a date. Period. Dates are stored as numbers in T-SQL, and you can't store spaces in a numeric field.
May 14, 2016 at 6:47 pm
For a newb, nice job posting!
This should do it... you might want to play with ROW_NUMBER() for a while... super handy once you figure out how it works.
SELECT y.Class
,...
May 12, 2016 at 9:43 pm
"I need it to filter on the latest version of each of the 3 documents the person has to sign."
but there's no MAX(Date) anywhere... how are you returning the latest...
May 12, 2016 at 11:56 am
the usual way of dealing with a series of IIF statements is nesting them... Here's the barebones structure (which you've sorted out)
=IIF(<test>,<true part>,<false part>)
In your case, I think you...
May 12, 2016 at 2:33 am
Viewing 15 posts - 1,921 through 1,935 (of 3,500 total)