Skip to content

Category Archives: sql

generate create assembly from <binary bits> script

07-Oct-07

Just a quick’n’dirty powershell script to generate the t-sql create assemby statement for creating a clr assembly. Converts the dll to the corresponding <assembly_bits> binary values like:
create assembly [TestAssembly] from 0×4D5A90 [...]
Useful when you just want to have a sql script and don’t want to bother copying or otherwise making the dll accessible to the [...]