Viewing 15 posts - 211 through 225 (of 476 total)
I don't think this is a case of either one does or doesn't, however being immersed in it does help. I don't do these types of things daily in...
November 13, 2013 at 7:58 pm
autoexcrement (11/13/2013)
November 13, 2013 at 2:24 pm
Hi
Firstly you need some way to order the rows by, so I've added the seq column to order on. Then it is basically a find the islands query. ...
November 13, 2013 at 12:01 pm
dwain.c (11/12/2013)
Jeff Moden (11/12/2013)
The code you're using is known as an "inch worm" splitterIt's been awhile since my high school biology days, but don't inch worms move pretty slow?
Especially...
November 12, 2013 at 6:15 pm
Kyr_Soronas (11/12/2013)
mickyT (11/12/2013)
LutzM (11/12/2013)
However, instead of...
November 12, 2013 at 6:05 pm
LutzM (11/12/2013)
However, instead of using computed...
November 12, 2013 at 2:25 pm
Hi
I was thinking geometry, but that would be overkill :-). Another option would be to add some calculated columns for minx, maxx, miny and maxy.
Having a look at the...
November 12, 2013 at 1:57 pm
Hi nhimabindhu
Looking at the procedure that you posted, I think this is what you are trying to do.
Note that I am using the DelimitedSplit8k[/url] function previously mentioned.
Create PROCEDURE [dbo].[USP_UpdateGroupAccess](
@VALUE VARCHAR(8000),...
November 12, 2013 at 11:36 am
Jeff Moden has an excellent splitter here[/url] that performs extremely quickly. Once you have that, you can do the following
select rowseq,
min(col1) item1,
min(col2) item2,
min(col3) item3,
min(col4) item4,
min(col5) item5,
min(col6) item6
from (
select ps.itemnumber...
November 11, 2013 at 12:09 pm
Thanks ... inspired by others (Jeff) of course:-)
November 7, 2013 at 6:39 pm
Just realized that I was reading the dates the wrong way.
Will edit my previous to fix
November 7, 2013 at 6:25 pm
Hi
If you have a look at this article[/url] by Jeff Moden, it will explain how to group by contiguous islands of dates. This is essentially what you are trying...
November 7, 2013 at 6:07 pm
Sorry I accidentally replied, was going to mention to watch out for underscores as well
November 7, 2013 at 2:53 pm
I'm annoyed that I didn't read the question properly first up and over complicated it in my first reply:-)
November 7, 2013 at 12:30 pm
Viewing 15 posts - 211 through 225 (of 476 total)