Take the 2-minute tour ×
Database Administrators Stack Exchange is a question and answer site for database professionals who wish to improve their database skills and learn from others in the community. It's 100% free, no registration required.

In regards to GS1 barcode - what size DB field is used or is the entire GS1 typically not stored in database, but rather processed in the application layer and stored in the database as a collection of the component parts?

The length of the GS1 in its entirety is the subject of this question

share|improve this question
Are you planning on storing the ASCII characters or the image itself? If ASCII characters, then you could use a varchar(x) field, where 'x' is the maximum length you need, or possibly a varbinary(x) field. –  Max Vernon Apr 19 '13 at 17:10
Planning on storing the ASCII characters unless someone with experience recommends parsing and storing. Trying to find x. –  Thronk Apr 19 '13 at 17:36
That document you reference at GS1.org says The maximum number of data characters in a single symbol is 48. on page 253 under GS1 - 128 Bar Code size characteristics: –  Max Vernon Apr 19 '13 at 18:09

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.