SQL儲存過程迴圈

cyc308發表於2007-02-15
CREATE PROCEDURE hhh AS
Declare @A int
Set @A = 0
While @A <10
begin
insert into cf_table1(ccname) values('hhh')
Set @A = @A + 1
end
GO
 

相關文章