Viewing 15 posts - 19,846 through 19,860 (of 59,072 total)
Phil Factor (8/15/2015)
It sounds like you've worked at the same places I have.
Side by side a pond apart, ol' friend. 🙂
--Jeff Moden
Change is inevitable... Change for the better is not.
August 17, 2015 at 8:07 am
David.Poole (8/17/2015)
I've been playing around with NOSQL for long enough to know that if you choose the right tool...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 17, 2015 at 8:05 am
Jeff Moden (8/17/2015)
serg-52 (8/17/2015)
sqlserverstarter (8/16/2015)
--Jeff Moden
Change is inevitable... Change for the better is not.
August 17, 2015 at 7:57 am
serg-52 (8/17/2015)
sqlserverstarter (8/16/2015)
To your questions: the slug_en can contain duplicates, but never within the same hierarchy, so "pillows" could occur multiple times but will always have a different parentid.
Based on...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 17, 2015 at 7:31 am
I'm always amazed that people don't pay attention until someone gets hurt or dies. This appears to be the same mentality that prevails in every day code. They...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 17, 2015 at 12:49 am
The following code will work as requested against the data you posted. It uses 144 logical reads because of the recursive CTEs and takes 1 to 5 ms duration....
--Jeff Moden
Change is inevitable... Change for the better is not.
August 16, 2015 at 10:23 pm
sqlserverstarter (8/16/2015)
Based on my total set of data I'd say that your suggestion to
recursively find all the children of the top level parent and then...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 16, 2015 at 9:33 pm
What I meant was that the answer to all the possible questions must already be present in the data or we'll be stuck with double (or more) recursion. Recursion...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 16, 2015 at 7:00 pm
Then you need to know the answer to the question before the question is known. Sorry, don't mean to sound cryptic but it's true and I can demonstrate how...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 16, 2015 at 6:37 pm
Do you have any other entries in your table that have a ParentID of "0"?
--Jeff Moden
Change is inevitable... Change for the better is not.
August 16, 2015 at 6:17 pm
Eirikur Eiriksson (8/16/2015)
Jeff Moden (8/16/2015)
Eirikur Eiriksson (8/16/2015)
Jeff Moden (8/16/2015)
--Jeff Moden
Change is inevitable... Change for the better is not.
August 16, 2015 at 1:09 pm
Yep. Exactly what I was talking about. That uses recursive CTEs and is going to be slower and more resource intensive over time, especially if you have a...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 16, 2015 at 1:07 pm
Steve Jones - SSC Editor (8/14/2015)
David.Poole (8/14/2015)
- Local Dev
- Continuous Integration
- Functional test
- Non-functional test (stress testing, penetration and vulnerability testing etc)
- User acceptance testing
- Showcase and demonstration
- Production
- Disaster Recovery
Wow, that's a lot, though I assume DR...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 16, 2015 at 12:10 pm
Eirikur Eiriksson (8/16/2015)
Jeff Moden (8/16/2015)
--Jeff Moden
Change is inevitable... Change for the better is not.
August 16, 2015 at 11:43 am
nick.latocha (8/16/2015)
This could be where we are going wrong. We have clustered the unique ID column. Let me try this out on our development environment.
You really need to post the...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 16, 2015 at 11:30 am
Viewing 15 posts - 19,846 through 19,860 (of 59,072 total)