select * from [GS1].[dbo].[GS_product] where [barcode] is not null and len([barcode]) = 8