Quantcast
Channel: John Huang's Blog » CLR
Browsing all 5 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

Run Dynamic SQL within Function

Functions are the most restrictive code blocks you can define in SQL Server. They perform just like stored procedures in which it can return set and output parameters. But you cannot create or modify...

View Article



Image may be NSFW.
Clik here to view.

Deploy CLR in SQL Server 2012

After SQL Client of SQL Server 2012 is installed to the client computer which also have Visual Studio 2010 installed, I am excited about deploying CLR with .NET 4.0. I launched Visual studio, started a...

View Article

Image may be NSFW.
Clik here to view.

Use Expression in CLR

Expression class under System.Linq.Expressions is a very useful class which includes many static members helping you to create expression tree and execute the tree. Whenever you need to execute a...

View Article

Image may be NSFW.
Clik here to view.

Bug? Can’t Pass TVP to SQL Function Twice

I run into a bug recently with SQL Server 2012. I believe this exists in SQL Server 2008 as well. When a TVP is passed to a SQL function/procedure/script through an CLR function, the second execution...

View Article

Image may be NSFW.
Clik here to view.

Get Dependent Databases, Tables, Columns…

Quite often people need to write a new T-SQL application to replace an existing one for various reasons. For instance, Existing report is generated by a complex T-SQL procedure which pulls data from...

View Article

Browsing all 5 articles
Browse latest View live




Latest Images