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!

Luhn Algorithm

985496Jan 17 2013 — edited Jan 17 2013
I would like a pl/sql function that returns the check digit of a 9-digit number?

Look at http://en.wikipedia.org/wiki/Luhn_algorithm for more details

For example number 109409714 (9 digits) should do check digit.

I want validation of check digit, & want to return the check digit.

Thanks
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 14 2013
Added on Jan 17 2013
8 comments
610 views