Viewing 15 posts - 1 through 15 (of 113 total)
Mark,
That looks to be very much what i need. I am currently in the process of trying to understand the differences.
Thank you so much for your...
March 28, 2019 at 5:34 am
To help illustrate my issue.....
So here is an example data set:create table #TEMP
(ID varchar(10),
Parent Varchar(10)
)
Insert into #TEMP
values('1A',NULL),
('2A','1A'),
('3B','1A'),
March 28, 2019 at 3:20 am
Hi,
Just to clarify. For this odd example I want the nodes shown more than once. So the top most node will show every node. The second layer will...
March 28, 2019 at 2:47 am
Hi,
Thanks for your reply.
Sorry if i am not being clear. I need to get all the descendants and not just the children. So i need the children's...
March 27, 2019 at 9:44 am
The splitter function will do that for you. It takes a delimited list and...
March 10, 2017 at 8:54 am
Hi Joe,
Thanks for the message. I am trying it now. Not sure if this is going to be too much (in terms of data - and performance).
March 10, 2017 at 8:39 am
Thanks for everyones help.
I worked out a quick way to do it.
So effectively i numbered the columns 1-5 the opposite way round. Then in unpivoted the data making one...
September 25, 2015 at 10:05 am
Luis Cazares (9/25/2015)
danielfountain (9/25/2015)
Luis Cazares (9/25/2015)
I'm not sure if this is a good idea:
However i do think this would work.... VERY slowly though. I keep feeling there is something...
September 25, 2015 at 9:36 am
Luis Cazares (9/25/2015)
WITH rCTE AS(
SELECT s.saleid, u.userid, b.businessunitid, b.name, b.parentbusinessunitid, 1 AS n
from...
September 25, 2015 at 9:23 am
Sean Lange (9/25/2015)
danielfountain (9/25/2015)
I have been away from SQL for a couple of months, and for the life of me cannot work out a simple way to do what...
September 25, 2015 at 9:17 am
Cadavre,
Thats the ticket. I must say i have never used cross apply and i might need to do some research. I dont understand how that part works...
January 9, 2015 at 6:37 am
BWFC (1/9/2015)
Depending on what you're trying to toselect MIN(datecolumn)
will do it.
Sorry i dont think i have explained myself well.
There are 5 separate columns all with dates in...
January 9, 2015 at 5:05 am
Thank you for the question.
I always find the questions that i straight away feel i know the answer a little disconcerting. I always feel i have missed something 🙂
August 1, 2014 at 3:57 am
Koen Verbeeck (6/23/2014)
It will not catch everything, but at least the...
June 23, 2014 at 6:54 am
Koen Verbeeck (6/18/2014)
BWFC (6/18/2014)
Koen Verbeeck (6/18/2014)
BWFC (6/18/2014)
You are working for a company that has uses SQL 2012 for their on site databases.
This explicitly rules out that the databases are...
June 18, 2014 at 7:24 am
Viewing 15 posts - 1 through 15 (of 113 total)