Viewing 3 posts - 1 through 3 (of 3 total)
select @mystring=REPLACE(@mystring,name,value) from @tab
We don't sort tables. The entire relational world is based on the concept that absolutely no assumptions can ever be made on the physical...
August 30, 2013 at 1:39 pm
#1646466
Here's two other ways of doing it. First, write a query returning the rows you want to keep:
-- Query 1
select *
from #UserSession us
where us.LastUpdated...
April 30, 2013 at 6:09 pm
#1611440
Here's one way not using analytics or outer apply. At first I used a CTE but I removed that to use an inline view instead even though CTE's were not...
April 30, 2013 at 11:40 am
#1611341