sql server select as base64 column
<p>Is there any simple function for get this output.</p>

<pre><code>SELECT Title FROM Table WHERE Id = 1 
---- My title
</code></pre>

<p>Desire function or etc ...</p>

<pre><code>SELECT MYBASE64ENCODE(Title) FROM Table WHERE Id = 1 
---- TXkgdGl0bGU=
</code></pre>

<p>I need the function for ecnode string to base64.</p>

<p>If answer is <a href="https://stackoverflow.com/questions/5082345/base64-encoding-in-sql-server-2005-t-sql">this</a> so how can put my column as input of my query.</p>