select top 150000 newID() as code
select top 150000 newID() as code from sysobjects
select top 150000 newID() as code from sysobjects ta, sysobjects tb
select top 150000 newID() as code from sysobjects ta, sysobjects tb, sysobjects tc
select X.code
from
(
select top 150000 left(replace(newID(),'-',''),16) as code
from sysobjects ta, sysobjects tb, sysobjects tc
) X
group by X.code