22,300
社区成员




CREATE TABLE tb(
id INT IDENTITY(1,1),
vl VARCHAR(100)
)
--测试数据
if not object_id(N'Tempdb..#T') is null
drop table #T
Go
Create table #T([id] INT)
Insert #T
SELECT number FROM master..spt_values WHERE type='p'
Go
--测试数据结束
insert into tb(vl)
select newid() from #T --#T 有2048行
GO 500
TRUNCATE TABLE tb
create nonclustered index inx_tb_test ON tb(id)