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’
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You could use SQL CLR to do this – utilizing the
GZipStreamclass to decompress the value, or some third party library if you so choose.