DECLARE @CNT int
DECLARE @CNT_MAX int
SET @CNT = 0
SET @CNT_MAX = 100000
WHILE @CNT < @CNT_MAX
BEGIN
INSERT INTO tblTEST(text1, text2)
VALUES(
'T1-' + CONVERT(VARCHAR, @CNT),
'T2-' + CONVERT(VARCHAR, @CNT)
)
SET @CNT = @CNT + 1
END
PRINT 'INERT END CNT=' + CONVERT(VARCHAR, @CNT)
DECLARE @CNT_MAX int
SET @CNT = 0
SET @CNT_MAX = 100000
WHILE @CNT < @CNT_MAX
BEGIN
INSERT INTO tblTEST(text1, text2)
VALUES(
'T1-' + CONVERT(VARCHAR, @CNT),
'T2-' + CONVERT(VARCHAR, @CNT)
)
SET @CNT = @CNT + 1
END
PRINT 'INERT END CNT=' + CONVERT(VARCHAR, @CNT)
0 件のコメント:
コメントを投稿