select top 100 from 表 order by newid()
===================
select top n * from tablename order by newid()