DEFINITIONS

Definitions More Info.
Definition ID423
TitleSQL
CategoryNOTES
DefinitionSQLCMD : WHILE LOOP ile INSERT islemi ve BREAK
Definition DescriptionDECLARE @i INT
SET @i = 0
while (@i <= 100)
BEGIN
print @i
INSERT INTO hede2
VALUES('ayse', @i)
SET @i = @i + 1
IF @i = 99 break;
END GO
RecordBycunay
Record Date19-03-2014 11:31:01
Düzenle
Kopyala
Sil