Viewing 15 posts - 8,266 through 8,280 (of 15,381 total)
It would be a lot easier if you could post the actual ddl (create table scripts and indexes, keys etc).
It does look like you need to add some primary keys...
May 22, 2013 at 8:06 am
Grant Fritchey (5/22/2013)
May 22, 2013 at 7:26 am
Steve Jones - SSC Editor (5/21/2013)
May 22, 2013 at 7:21 am
Evil Kraig F (5/21/2013)
May 21, 2013 at 1:47 pm
geoff5 (5/21/2013)
I'm not an expert at execution plans, so I can't speak definitively on which approach is more efficient, but intuitively it would seem to me that referencing the raw...
May 21, 2013 at 1:35 pm
Can you post some examples of using it? I may be having a dense moment but I am not getting it. If I saw it in use it would help...
May 21, 2013 at 1:03 pm
Ahh I see how you want it sorted. You could modify Eugene's solution slightly like this.
with MySort as
(
select CaseID,
ROW_NUMBER() over(order by Max(CreatedDate) desc) as SortOrder
from @mySampleTable
group by CaseID
)
SELECT *...
May 21, 2013 at 1:00 pm
RexHelios (5/21/2013)
Your solution looks simpler, but it is not sorting the end result the way I want it. Any suggestions on that?
His query does not have an order by. If...
May 21, 2013 at 12:55 pm
troe_atl (5/21/2013)
May 21, 2013 at 12:49 pm
I can't speak to the desktop version however I have a Windows Phone with windows 8 on it. I also have a MS Touch. I find that there are few...
May 21, 2013 at 10:44 am
tknecht 32495 (5/21/2013)
May 21, 2013 at 10:18 am
satya.kota2001 (5/21/2013)
I didn't find any code for the tally table that you mentioned here. Can you please let me know where I can find that
May 21, 2013 at 9:58 am
It is tough to know exactly what you have going on because I sadly can't see your screen. 😉
I would love to use that script but I'm worried it's not...
May 21, 2013 at 9:55 am
Matthew Cushing (5/21/2013)
I guess my only question is to how we get the information of the user who is disabling the person, but since they're logged into the system, it...
May 21, 2013 at 9:51 am
Viewing 15 posts - 8,266 through 8,280 (of 15,381 total)