oracle PLSQL创建和调用存储过程
来源:互联网 发布:usb摄像头监控软件 编辑:程序博客网 时间:2024/09/21 09:22
我是在PLSQL的command window里使用的命令
建表
drop table students;
create table students(ID int,userName varchar(100),userpass varchar(100),userAge int);insert into students values(1,'Jack','jjjaa',23);
insert into students values(2,'rose','jjjaa',21);
insert into students values(3,'lucy','jjjaa',22);
insert into students values(4,'Tony','jjjaa',24);
commit;
创建储存过程
create or replace procedure gogogo(uName in varchar, Age in int) is
begin
update students set UserAge = UserAge + Age where userName = uName;
commit;
end gogogo;
/
调用储存过程
exec SP_UPDATE_AGE('jack',1);
0 0
- oracle PLSQL创建和调用存储过程
- Oracle 创建存储过程以及PlSql 调用 存储过程
- plsql 和 Navicat 创建和调用存储过程的区别
- PLSQL 存储过程调用和执行
- plsql 调用存储过程
- oracle 10g sqlplus 创建和调用存储过程(procedure)
- oracle sqlplus 创建和调用存储过程(procedure)
- oracle 创建包和存储过程并调用举例
- Oracle创建和调用存储过程,函数,视图
- Oracle分页存储过程及PLSQL中的调用脚本
- ORACLE存储过程plsql创建与执行(一)
- 『ORACLE』 PLSQL创建存储过程(11g)
- plsql存储过程的调用
- plsql-shell调用存储过程
- Oracle存储过程创建及调用
- Oracle存储过程创建及调用
- Oracle存储过程创建及调用
- Oracle存储过程创建及调用
- 作业:C++ 编写计算“两个整数的最大公约数”程序。
- Apache与Nginx的优缺点比较
- 修改本地hosts文件屏蔽广告(BJ、US服务器)
- [转载] Flex 4 皮肤功能介绍
- spring对AOP的支持
- oracle PLSQL创建和调用存储过程
- 【Unity开发】GameObject
- C#遍历指定文件夹中的所有文件
- 进程线程及堆栈之间内存分配和关系总结
- poj2001 Shortest Prefixes
- 二叉树中和为某一值的路径
- ubuntu下hello驱动模块的编写及问题
- 游戏对象&组件
- 致JAVA初学者+如何下手学JAVA