You can generate SQL scripts from database tables and the data dictionary.
You can also choose a Barcode SDK to help you do this work.http://www.yiigo.com/