1. 首页
  2. 数据库
  3. SQLServer
  4. 数据库随机查询代码

数据库随机查询代码

上传者: 2019-01-07 23:15:28上传 DOCX文件 14.35KB 热度 23次
随机查询数据库复制代码 SET STATISTICS TIME ON SET STATISTICS IO ON SELECT TOP 50 [id] FROM [dbo].[RANDTEST] GROUP BY ID ORDER BY NEWID() SET STATISTICS TIME OFF SET STATISTICS IO OFF
用户评论