Decrypt SQL Server Stored Procedures

Tested on SQL Server 2008, 2012, and 2014

September 26, 2015 · 1 min read


Many stored procedures found in SQL Server databases are obfuscated. Use the following script to get back some code to re-create stored procedures. Especially with SQL Server on cloud service providers, obfuscated objects (including functions) may fail during the migration to the cloud.