How to find out the columns which has 16 digit credit card number
798481Jan 27 2011 — edited Sep 27 2012Hi All,
I have a requirement where in i need to find out the columns which has 16 digit credit number in it and create a report with owner, table name and column name.
The issue is that the credit card number can be entered in any columns of any table of any schema. For example the credit card number can be entered in any description field(eg: The number is 4001412134642881), in that case i need to filter only the numbers and do the LUHN check to validate the credit card number.
Please provide me a suggestion on how to scanl the values of all the columns to know the column which has credit card number.
Regards,
Raj.