Firebird execute block 批处理

火鸟的批处理,效率好高,使用简单。

 1 execute block as
 2 declare variable i int = 0;
 3 begin
 4   while(:i < 100) do
 5   begin
 6     :i = :i + 1;
 7     insert into m_user(code)
 8     values('shang hai' || :i);
 9   end
10 end
原文地址:https://www.cnblogs.com/jonney-wang/p/9350974.html