Prova con la IN

select * from NOMETABELLA where codice IN (23, 34, 12, 34, 43, 12)


Spero di non aver detto una cretinata!