Viewing 15 posts - 226 through 240 (of 59,095 total)
Thanks Jeff, Here is more realistic data. Won't work when there are more than 5 rows.
Ah... My apologies, Chrissy. When you said you could "guarantee the order", I mistook...
--Jeff Moden
Change is inevitable... Change for the better is not.
January 12, 2025 at 12:32 am
so many people here obsess over every microsecond
It's frequently obvious when code is not written by such folks when the OP comes back in a few months saying that,...
--Jeff Moden
Change is inevitable... Change for the better is not.
January 11, 2025 at 6:29 pm
My suggestion is that you need to stop taking chances and hire a consultant to set you up correctly because it sounds like you're not just storing personal data (which...
--Jeff Moden
Change is inevitable... Change for the better is not.
January 11, 2025 at 5:59 pm
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...
--Jeff Moden
Change is inevitable... Change for the better is not.
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...
--Jeff Moden
Change is inevitable... Change for the better is not.
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...
--Jeff Moden
Change is inevitable... Change for the better is not.
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...
--Jeff Moden
Change is inevitable... Change for the better is not.
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...
--Jeff Moden
Change is inevitable... Change for the better is not.
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...
--Jeff Moden
Change is inevitable... Change for the better is not.
January 10, 2025 at 4:17 pm
Thanks Jeff. Its SQL Server 2017.
Your other post is on an SQL Server 2022 forum.
--Jeff Moden
Change is inevitable... Change for the better is not.
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.
--Jeff Moden
Change is inevitable... Change for the better is not.
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...
--Jeff Moden
Change is inevitable... Change for the better is not.
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...
--Jeff Moden
Change is inevitable... Change for the better is not.
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...
--Jeff Moden
Change is inevitable... Change for the better is not.
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...
--Jeff Moden
Change is inevitable... Change for the better is not.
January 9, 2025 at 5:30 pm
Viewing 15 posts - 226 through 240 (of 59,095 total)