Firebird execute block 批处理

Posted jonney-wang

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了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

 

以上是关于Firebird execute block 批处理的主要内容,如果未能解决你的问题,请参考以下文章