SQL数据库性能测试插入数据

a84503 13 0 PDF 2020-12-22 11:12:27

SQL Server中,测试插入大量数据,执行时间。 declare @begin_date datetime declare @end_date datetime select @begin_date = getdate() declare @counter int set @counter=0 while(@counter < 1000000) begin INSERT INTO testsql.dbo.Errorlog VALUES(''+@counter+'','b','c','d','e','f') set @counter=@counter + 1 end

用户评论
请输入评论内容
评分:
暂无评论