title: Need to encrypt the data in teradata SQL Query
body: <p>I have requirement to encrypt the data in teradata using SQL Query or Stored procedure.<br>
  I have data in below sample:</p>
  
  <pre><code>May123@34@#
  AbC@#$%1234DE#f
  zyx@12
  </code></pre>
  
  <p>So I want output in the below format</p>
  
  <pre><code>aaadddpddpp
  aaappppddddaapa
  aaapdd
  </code></pre>
  
  <p>So we want to replace character with a and number with d and special character with p.</p>
  
  <p>Your help is highly appreciated.</p>