Viewing 15 posts - 151 through 165 (of 59,038 total)
Is there anything else I'm missing that I should consider?
Yes. It sounds to me that you're using the "Developer" Edisition to do "production work"... which goes against the licensing...
January 11, 2025 at 5:56 pm
It would be easier if the first row were numbered "0" instead of 1 so that we could use modulo all by itself to do this but, it can still...
January 10, 2025 at 10:32 pm
@jeffmoden I have not spent much time on SSC for a good few years. Searching for something else, I came across this article (and the follow up) written by...
January 10, 2025 at 4:36 pm
Hi, excellent post, I have taken it and put it into practice, and it works very well for me to redo the whole nested set, But I want...
January 10, 2025 at 4:34 pm
Just to ask the question, I haven't tested any of the solutions and so this question is directed at Reh23 ...
Do any of the solutions, so far, do what you...
January 10, 2025 at 4:18 pm
First of all, please stop posting graphics for the test data. See the article at the first link in my signature line below for why and one method for...
January 10, 2025 at 4:17 pm
Thanks Jeff. Its SQL Server 2017.
Your other post is on an SQL Server 2022 forum.
January 10, 2025 at 4:13 pm
Just to be sure, I would never obfuscate numeric data. If it's worth protecting, it's worth being properly encrypted.
January 10, 2025 at 4:11 pm
Hi SSC team,
I wanted to leave the answer here just in case anyone else needs it. This works. Only caveat is that you need to use dts.vaiables...
January 10, 2025 at 2:34 am
I use IIF a whole lot to replace the longer CASE expression in CROSSTABs. It just makes for shorter code when there are only Yes/No conditions.
I have used some of...
January 10, 2025 at 2:26 am
First of all, please stop posting graphics for the test data. See the article at the first link in my signature line below for why and one method for producing...
January 9, 2025 at 5:42 pm
Just to be sure... you're in an SQL Server 7/2000 forum... which release of SQL Server are you actually using?
And, yeah... It's really important because there's a whole lot missing...
January 9, 2025 at 5:30 pm
Hi SSC team,
I wanted to leave the answer here just in case anyone else needs it. This works. Only caveat is that you need to use dts.vaiables instead of...
January 9, 2025 at 4:20 pm
thx jeff. eventually i did do the divide and conquer thing. it took the query down from 6 minutes to 19 seconds. i turned it over in that state...
January 9, 2025 at 1:12 am
Shifting gears to the dark side, it may be that the query was written in such a fashion that the optimizer just can't figure out if an index would help...
January 8, 2025 at 4:17 pm
Viewing 15 posts - 151 through 165 (of 59,038 total)