













int count = 1000;
int[] arrNum = new int[count];for (int i = 0; i < count; i++)
{
arrNum[i] = i + 1;
}//打乱
Random rm = new Random();
for (int i = 0; i < count; i++)
{
int rmNum = rm.Next(i, count);
int temp = arrNum[i];
arrNum[i] = arrNum[rmNum];
arrNum[rmNum] = temp;
}--------------------------
--显示表io操作
SET STATISTICS IO ON
--sql语句
SET STATISTICS IO OFF
表 'P2'。扫描计数 7,逻辑读 7 次,物理读 0 次,预读 0 次。
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。