SQL Clone
SQLServerCentral is supported by Redgate
Log in  ::  Register  ::  Not logged in

Get your favorite SSC scripts directly in SSMS with the free SQL Scripts addin. Search for scripts directly from SSMS, and instantly access any saved scripts in your SSC briefcase from the favorites tab.
Download now (direct download link)

MIME64 Encoder and Decoder written in T-SSQL

By Peter Larsson,

Here is a MIME64 encoder function written entirely in T-SQL!
© 2006 Peter Larsson, Developer Workshop, all rights reserved

As long as the copyright notice is visible within the function declaration
and you include a note in the documentation of your system that these
functions are written by me, you may use these functions for free of charge.

If you intend to use these functions in a commercial application, you are
also required to email me about your system and provide an emailaddress to
the application manager.

If you like the code and use it just for fun, send an e-mail to me and tell
me about your experience with these functions.

These two functions encodes data to MIME64 compliant text and decodes and MIME64 compliant text back to data.

Total article views: 936 | Views in the last 30 days: 2
Related Articles




Function within a function



New built-in functions in SQL Server 2012

Introduction: Microsoft SQL Server 2012 Release Candidate 0 introduces 14 new built-in functions. T...



functions causing query to run excessively long



Dynamic Function