Thanks

-----Original Message-----
From: [email protected] 
[mailto:[email protected]] On Behalf Of ik
Sent: Friday, August 31, 2012 6:32 AM
To: [email protected]
Subject: Re: [firebird-support] Luhn algorithm

On Wed, Aug 29, 2012 at 12:15 AM, Rick Debay <[email protected]> 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



Reply via email to