Barcode field length

Posted by bestattendance on Stack Overflow See other posts from Stack Overflow or by bestattendance
Published on 2010-04-18T00:02:17Z Indexed on 2010/04/18 0:13 UTC
Read the original article Hit count: 223

Filed under:

I'm writing some attendance software. Each member will have an ID card with a barcode which they will use to sign in to events. How long should the barcode field be in my database? I'd like to accept Code 39 and Code 128 barcodes. I know these are variable length codes, so what should I set the max length to?

Thanks!

EDIT: My clients will be using a variety of third-party barcode printing tools.

© Stack Overflow or respective owner

Related posts about barcode