Home Forums Article Discussions Article Discussions by Author Discuss content posted by Sergio Govoni How to calculate the check digit for a UCC/EAN code RE: How to calculate the check digit for a UCC/EAN code
ray.mccoy
Valued Member
Points: 63
More actions
July 9, 2008 at 5:56 am
#840014
declare @RES int
exec @RES = dbo.UDF_GetCheckDigitUCCEAN '0000000001111'
print @RES
This yields a value of -8, not a valid value check digit value! I figure it should be 2.
Cheers!