当前位置:网站首页>Pl/sql creates and executes ORALCE stored procedures and returns the result set
Pl/sql creates and executes ORALCE stored procedures and returns the result set
2022-07-25 15:04:00 【Kimizhou_ blog】
Because I used to use sql server many , Now use it all at once oracle , I'm not familiar with tools , Limited to sql server Thought
Online search , And ask friends , Told me a lot , what loop ah ,decalre ah ,package ah , What command window , what sql plus ah , What doesn't support pl/sql ah . It took hours .. It's all misleading , In fact, nothing is needed .
Just define a result set , Save things in the result set and it's over ( This result set is called a cursor ), Create the stored procedure first :
create or replace procedure Demo(data out sys_refcursor) is
begin
open data for select * from gsminfo;
end Demo;Then directly execute OK , The method of execution is as follows :
Stored procedure found , Right click , Choose a test :

Then the page that appears , Then select run :

Then just look at the result set directly , Pay attention ,oracle pl/sql This tool , The result set of stored procedure is not humanized , Compared with sql server It's a lot worse , The result set is in a very hidden place , As shown in the figure , Just click on it


边栏推荐
- IP address classification, which determines whether a network segment is a subnet supernetwork
- Number of high-quality number pairs [bit operation characteristics + abstract ability evaluation + grouping fast statistics]
- 41 图片背景综合-五彩导航图
- 没错,请求DNS服务器还可以使用UDP协议
- 简易轮播图和打地鼠
- 给VS2010自动设置模板,加头注释
- 基于AMD EPYC服务器的EDA芯片设计解决方案
- pl/sql 创建并执行oralce存储过程,并返回结果集
- 39 简洁版小米侧边栏练习
- C#,C/S升级更新
猜你喜欢
随机推荐
44 Sina navigation, Xiaomi sidebar exercise
ESXI6.7.0 升级到7.0U3f(2022年7月12 更新)
pl/sql 创建并执行oralce存储过程,并返回结果集
C#,C/S升级更新
51 single chip microcomputer learning notes (1)
Several methods of spark parameter configuration
Spark 参数配置的几种方法
Vs2010添加wap移动窗体模板
6月产品升级观察站
MySQL sort
Kibana operation es
Sudo rosdep init error ROS installation problem solution
SSH服务器拒绝了密码
[comprehensive pen test] difficulty 4/5, classic application of line segment tree for character processing
Stored procedure bias of SQL to LINQ
QT connect, signal, slot and lambda comparison
32 use of chrome debugging tools
37 元素模式(行内元素,块元素,行内块元素)
[MySQL must know and know] trigger | permission management
PHP 通过原生CURL实现非阻塞(并发)请求模式








