Reputation: 20806
Is there a way to decompress a BZip2 compressed string in MS SQL? Other than using xp_cmdshell
and running it through bzip2.exe?
I have a string like BZh41AY&SY3‹Ï¬€ !˜„]ÉáB@Î/>°
this is simply 'test'
Upvotes: 0
Views: 253
Reputation: 499262
You could use SQL CLR to do this - utilizing the GZipStream
class to decompress the value, or some third party library if you so choose.
Upvotes: 1