create or replace procedure pro_test_loop is
i number;
begin
i:=0;
loop
i:=i+1;
dbms_output.put_line(i);
if i>5 then
exit;
end if;
end loop;
end pro_test_loop;
while循环:
create or replace procedure pro_test_while is
i number;
begin
i:=0;
while i<5 loop
i:=i+1;
dbms_output.put_line(i);
end loop;
end pro_test_while;
for循环1:
create or replace procedure pro_test_for is
i number;
begin
i:=0;
for i in 1..5 loop
dbms_output.put_line(i);
end loop;
end pro_test_for;
for循环2:
create or replace procedure pro_test_cursor is
userRow t_user%rowtype;
cursor userRows is
select * from t_user;
begin
for userRow in userRows loop
dbms_output.put_line(userRow.Id||','||userRow.Name||','||userRows%rowcount);
end loop;
end pro_test_cursor;
0
0
CompositePattern(23种设计模式之一)
Arduino String.h库函数详解
cp命令详解
PHP AJAX 返回JSON 数据
PHP AJAX返回 "TEXT"
PHP JSON数据 AJAX
PHP JQurey
PHP 封装POD 类
PHP 分页+查询
- 最新文章
-
PHP json_encode转换空数组为对象
tp 生成静态页
PHP接收跨域请求header 头设置
PHP判断{函数/类/方法/属性}是否存在
C++基础-类的构造函数和析构函数(this)
caffe 网络中的各个层
mean.npy生成mean.protxt 和 mean.protxt生成mean.npy
文本算法-Ctpn(用于进行文本框的提取)
python进阶笔记
pytorch-torch参数使用 1.torch.cat(维度串接) 2. torch.backend.cudnn.benchmark(加速优化计算)
- 热门文章
-
pytorch-使用torch.utils.data.DataLoader, __iter__, ___getitem__来模拟batch数据的处理过程
pytorch-使用.apply 和 init.normal_()模拟net网络的参数初始化过程
pytorch-第八章生成对抗网络mnist数据集
pytorch-第五章使用迁移学习实现分类任务-torchvison
FlyweightPattern(23种设计模式之一)
FacadePattern(23种设计模式之一)
PC端QT源码编译
嵌入式Qt开发环境的搭建详解
linux下配置eclipse环境
Process management of windows