ClrHttpRequest icon indicating copy to clipboard operation
ClrHttpRequest copied to clipboard

sp_add_trusted_assembly

Open anatoliy-savchak opened this issue 1 year ago • 1 comments

Hey great lib, glad I found you before trying to do the same! 👍

I think this release steps are missing

declare @a varbinary(max) = 0x4D5A...

declare @hash varbinary(64) = HASHBYTES('SHA2_512',@a)

EXEC sys.sp_add_trusted_assembly @hash = @Hash, @description = N'ClrHttpRequest'

anatoliy-savchak avatar Aug 30 '23 11:08 anatoliy-savchak

More info - this is how tSSQL guys did: https://github.com/tSQLt-org/tSQLt/blob/a16745db956badd4de7671a8f0e97aba82e9332e/Source/tSQLt.InstallAssemblyKey.ssp.sql#L28

anatoliy-savchak avatar Aug 30 '23 11:08 anatoliy-savchak