Subject | RE: [firebird-support] Luhn algorithm |
---|---|
Author | Rick Debay |
Post date | 2012-10-04T14:12:31Z |
Thanks
-----Original Message-----
From: firebird-support@yahoogroups.com [mailto:firebird-support@yahoogroups.com] On Behalf Of ik
Sent: Friday, August 31, 2012 6:32 AM
To: firebird-support@yahoogroups.com
Subject: Re: [firebird-support] Luhn algorithm
-----Original Message-----
From: firebird-support@yahoogroups.com [mailto:firebird-support@yahoogroups.com] On Behalf Of ik
Sent: Friday, August 31, 2012 6:32 AM
To: firebird-support@yahoogroups.com
Subject: Re: [firebird-support] Luhn algorithm
On Wed, Aug 29, 2012 at 12:15 AM, Rick Debay <rdebay@...> wrote:
>
>
>
> Does anyone have a Luhn algorithm for Firebird? Especially one I can
> embed in a check constraint?
I have one written in Pascal, that you can translate or use as UDF:
https://github.com/ik5/credit-card-library/blob/master/src/units/luhn.pp
>
> Thanks, Rick DeBay
>
>
------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Visit http://www.firebirdsql.org and click the Resources item on the main (top) menu. Try Knowledgebase and FAQ links !
Also search the knowledgebases at http://www.ibphoenix.com
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Yahoo! Groups Links