美文网首页
oracle 存储过程

oracle 存储过程

作者: Plenari | 来源:发表于2020-03-14 11:05 被阅读0次

DBMS_OUTPUT.PUT_LINE();变量用||拼接

创建变量

定义
name type
赋值
name:='zz'
定义并赋值
name type:='xx'
插入
select into name from dual;

引用类型
name tablename.column%TYPE
记录变量
变量名 表明%rowtype

判断

if con then
elsif con the n

end if

游标

cursor name is 查询语句

相关文章

网友评论

      本文标题:oracle 存储过程

      本文链接:https://www.haomeiwen.com/subject/hohmshtx.html