Quantcast
Channel: Microsoft SQL Server
Viewing all articles
Browse latest Browse all 4871

Can I Make an Ad Hoc SQL Script That Utilizes CLR?

$
0
0

Our core software is an IIS/.net app with a SQL backend.  Every so often we need to copy that DB to our test environment.  I had a script that performs a number of functions, one of which is hashing a string that gets inserted into a password field on the customer records.  

The vendor has changed the storage method and hashing process.  The only option I have available is to use some CLR functions for the task.  My script though, is just something I rung from the SSMS query editor.  

Can I call CLR functions from there?  Do I have to enclose it all in a stored procedure and call the CLR component from a file?  I've found a couple of tutorials, but all refer to an external location rather than something I can drop into my query editor.


Viewing all articles
Browse latest Browse all 4871

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>