PRD-13 PRDF-4 ADQ-1 ASFS-77 AGXX-9 AMXX-14 AXX-17
select MIN (substr(Code,charindex('_',Code)+1)+1) from produit where (substr(Code,charindex('_',Code)+1) + 1) not in (select (substr(Code,charindex('_',Code)+1)) from produit)
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)