select top 100 from 表 order by newid()
===================
select top n * from tablename order by newid()
Powered by: 博客园 Copyright © 2024 moss_tan_jun Powered by .NET 9.0 on Kubernetes