Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 

Get your favourite SSC scripts directly in SSMS with the free SQL Scripts addin. Search for scripts directly from SSMS, and instantly access any saved 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: 873 | Views in the last 30 days: 4
 
Related Articles
FORUM

"function"

"function"

FORUM

Function within a function

Functions

BLOG

New built-in functions in SQL Server 2012

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

FORUM

functions

functions causing query to run excessively long

FORUM

How to insert these dates in database

How to insert these dates in database

Tags
 
Contribute

Join the most active online SQL Server Community

SQL knowledge, delivered daily, free:

Email address:  

You make SSC a better place

As a member of SQLServerCentral, you get free access to loads of fresh content: thousands of articles and SQL scripts, a library of free eBooks, a weekly database news roundup, a great Q & A platform… And it’s our huge, buzzing community of SQL Server Professionals that makes it such a success.

Join us!

Steve Jones
Editor, SQLServerCentral.com

Already a member? Jump in:

Email address:   Password:   Remember me: Forgotten your password?
Steve Jones