April 2, 2013 at 7:00 pm
Hi,
I've enjoyed several of the Stairway series to date. I'm just wondering if you could provide one on creating CLR stored procs and UDFs?
Nick
October 8, 2013 at 3:33 pm
nick.gekas (4/2/2013)
Hi,I've enjoyed several of the Stairway series to date. I'm just wondering if you could provide one on creating CLR stored procs and UDFs?
Nick
+1 Absolutely! I second your suggestion.
-- Itzik Ben-Gan 2001
October 8, 2013 at 3:57 pm
It would be great to at least cover the basics.
It seems important to be prepared if MS ever discontinues the extended procedures.
October 30, 2013 at 7:47 am
+1 😀
October 30, 2013 at 8:25 am
First, let me state flatout that I'm NOT an anti-CLR zealot. I'm also NOT an anti-Cursor zealot. They both have their places and their uses.
Much like the use of Cursors, though, I've seen some pretty bad misuse of SQLCLR. I've seen people write a CLR to do a Modulus function because they didn't know enough about T-SQL to realize what the "%" operator was. I've seen people write random number generators that took a lot longer than the old hack of ABS(CHECKSUM(NEWID())). And, I even had one fellow write a CLR to do an "UPSERT" because he didn't know T-SQL well enough to do it there.
By the same token, I've seen some wonderful uses of SQLCLR such as some very high performance and flexible character based splitters, a "Tally Table" CLR, a much better and more flexible "Pivot", and some remarkable stuff that Adam Machanic has done.
To wit, if someone actually does write a "Stairway" for SQLCLR, I'd really like to see some important research and explanations as to what is appropriate for SQLCLR and what is not. Just like Cursors, SQLCLR should not be used as a comfort zone replacement for more appropriate T-SQL or SQL Server knowledge.
--Jeff Moden
Change is inevitable... Change for the better is not.
October 30, 2013 at 11:33 am
In process. I hope to have #1 out in the next month.
January 9, 2014 at 9:23 am
As requested:
Stairway to SQLCLR Level 1: What is SQLCLR?[/url]
🙂
Take care,
Solomon...
SQL# — https://SQLsharp.com/ ( SQLCLR library ofover 340 Functions and Procedures)
Sql Quantum Lift — https://SqlQuantumLift.com/ ( company )
Sql Quantum Leap — https://SqlQuantumLeap.com/ ( blog )
Info sites — Collations • Module Signing • SQLCLR
Viewing 7 posts - 1 through 6 (of 6 total)
You must be logged in to reply to this topic. Login to reply