Viewing 15 posts - 1,111 through 1,125 (of 3,957 total)
mickyT (11/14/2013)
declare @cellid int = 1;
select *
from CellAxes c
inner join (
select cellid
from (select axiscode, positiononaxis...
November 14, 2013 at 7:25 pm
Laurence Neville (11/14/2013)
declare @CellID int = 1
;with SelectedCell as
(
select...
November 14, 2013 at 7:23 pm
Perhaps you can explain how you expect to "condense" overlapping periods in ID=1 from 5 rows to 6 rows (sample data vs. expected results)?
November 14, 2013 at 6:01 pm
Gosh! That bad, huh? Guess you can't win them all.
November 14, 2013 at 5:28 pm
Greg Edwards-268690 (11/14/2013)
Show me the person who is a master of all things SQL Server.They are as rare as seeing a unicorn...
They call this the Asian Unicorn.
There now. We've...
November 14, 2013 at 5:19 pm
Glad to be of service!
November 14, 2013 at 5:12 pm
wolfkillj (11/13/2013)
Ed Wagner (11/13/2013)
Greg Edwards-268690 (11/13/2013)
venoym (11/13/2013)
L' Eomot Inversé (11/12/2013)
wolfkillj (11/12/2013)
Thanks for indulging me...
November 13, 2013 at 9:02 pm
As you appear to be using SQL 2012, have you looked at using the LAG function to solve this?
It would probably be a lot faster than what you settled on.
November 13, 2013 at 7:10 pm
Lowell (11/13/2013)
Large String Value needs to be broken down into Human readible fixed...
November 13, 2013 at 7:06 pm
lmeinke (11/13/2013)
I did remember to cast to varchar but may not have matched the actual length of varchar in the table. Can you tell me why this exact match would...
November 13, 2013 at 6:52 pm
Mitzy - You are lucky! I almost missed this in the flood of response emails I got last night.
This probably isn't perfect but may give you an idea.
DECLARE @sql...
November 13, 2013 at 6:50 pm
autoexcrement (11/13/2013)
November 13, 2013 at 6:11 pm
WITH NewBOM AS
(
SELECT MODEL=COMPONENT_ITEM, [OPTION]=PARENT_ITEM
,[LEVEL], LEVEL_INDENTED, COMPONENT_ITEM, PARENT_ITEM, ITEM_TYPE
,[SORT]=CAST([LEVEL]...
November 13, 2013 at 6:05 pm
autoexcrement (11/13/2013)
ITEM1 ITEM2 ID
0224180 0224181 1
0224180 0224190 1
0224181 0224180 1
0224181 0224190...
November 13, 2013 at 5:34 pm
lmeinke (11/13/2013)
Msg 240, Level 16, State 1, Line 1
Types don't match between the anchor and the recursive part...
November 13, 2013 at 5:31 pm
Viewing 15 posts - 1,111 through 1,125 (of 3,957 total)