Get the code of a CLR stored procedure?

A CLR stored procedure will not have text as such as it is a link to a DLL. You will need to get the source code to the DLL.

A CLR stored procedure will not have text as such as it is a link to a DLL. You will need to get the source code to the DLL See Common Language Runtime (CLR) Integration Programming Concepts for example.

Upvote for you - you are quite right, and I realize now that my question was a bit unclear. Please see my more recent revision. – JosephStyons Nov 9 '10 at 20:50.

Short answer: no, you can't do that. (At least not programatically/easily) CLR procedures are loaded from . NET assemblies (binary files) and there is no simple way to get the source code of such file.

Not within SQL Server. But you can use tools like RedGate Reflector to disassemble DLL and view/recover source code of the stored procedure.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions