Viewing 15 posts - 16 through 30 (of 49 total)
No, I understand the problem and I have seen this solution before.
Uncommenting the loop returned the same results because the loop is supposed to run only once.
October 10, 2016 at 9:59 pm
Please try this after commenting out this line:
--WHILE @@ROWCOUNT > 0 --Update until there's no previous group for any Client
I believe that you will find no difference.
October 7, 2016 at 5:27 pm
Thanks for sharing! We did a similar workaround, except we created a configuration DB and normalized it, due to the complexity of our systems.
August 29, 2016 at 10:09 am
Thank you for sharing - I am a scripter, but I never realized (researched) that a proc was available for this.
August 2, 2016 at 9:59 am
Alan.B (7/25/2016)
Great work David. Very interesting, I was not aware that you could do this with Extended Events.
Nor I. Great work!
July 25, 2016 at 9:53 am
You are bleeding edge with this - U-SQL seems to resemble a cross between T-SQL and Powershell, with a bit of DOSShell thrown in. I don't know when our...
July 6, 2016 at 1:19 pm
Great article, Mike. Much better than the Microsoft documentation - all examples are TBD. Can't wait for the rest of it! Five celestials from me.
June 22, 2016 at 3:45 pm
What about using the APPLY in the CTE?
June 10, 2016 at 7:54 am
hakim.ali (5/6/2016)
John Hick-456673 (5/6/2016)
Creating indexes for data in other environments that does not conform to a production-like spread just does not make any sense and accomplishes nothing.
Yes, it does -...
May 6, 2016 at 9:14 pm
Creating indexes for data in other environments that does not conform to a production-like spread just does not make any sense and accomplishes nothing.
Yes, it does - it depends on...
May 6, 2016 at 11:00 am
Thanks for taking the time to write and post this, Paul. This was a very, very deep dive!
June 17, 2015 at 9:00 am
Paul Novelli (5/6/2015)
It's worth noting a little-known bit about cursors: They can be declared like any other variable. For instance,
Declare @MyCursor Cursor;
And subsequently SET...
May 7, 2015 at 12:00 am
Thank you, Jeff, and you, Jason. I've learned more from lurking on SSC than I did in my CS classes back in the day.
You two, Dwain Camps,...
April 20, 2015 at 11:08 am
spaghettidba (4/18/2015)
John Hick-456673 (4/17/2015)
spaghettidba (4/17/2015)
craig 81366 (4/18/2013)
John Hick-456673 (4/18/2013)
I have tested it against large tables (1 billion plus rows) and performance is much better than with dynamic SQL.
I'm going to...
April 18, 2015 at 9:47 pm
Viewing 15 posts - 16 through 30 (of 49 total)