Posted By

DaveChild on 09/11/08


Tagged

obfuscate creditcard


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

sarfraznawaz2005


SQL Obfuscate Credit Card Number


 / Published in: SQL
 

All but last 4 digits turned to *

  1. CreditCardNumber = SUBSTRING('*****************************************', 0, LEN(CreditCardNumber) - 3) + SUBSTRING(CreditCardNumber, LEN(CreditCardNumber) - 3, 4)

Report this snippet  

You need to login to post a comment.