Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to find out the columns which has 16 digit credit card number

798481Jan 27 2011 — edited Sep 27 2012
Hi 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.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 25 2012
Added on Jan 27 2011
19 comments
2,386 views