当前位置:网站首页>SQL存储过程
SQL存储过程
2022-08-09 07:56:00 【洛央虲】
存储过程定义:是SQL语句和控制语句的预编译集合,以一个名称存储并作为一个单元处理
可带参数
in | out | inout
存储过程定义格式
CREATE PROCEDURE sp1() SELECT VERIONS();
删除存储过程:(无法修改结构体,只能删除重新创建)
drop procedure removeGoodById;
访问存储过程
call removeGoodById(3);
call removeGoodAndReturnInfos(“戴尔”,@a,@b);
查看变量
select @a,@b;
查看所有的存储过程
show procedure status;
查看权限
show grants;
边栏推荐
- libtorch示例
- The String class objects created by the JVM memory allocation and the difference between equals and = =
- 练习电影卡片、过渡、动画、变形、旋转,练习时钟、立方体、缩放
- 世界顶尖3D Web端渲染引擎:HOOPS Communicator技术介绍(一)
- VRRP原理及配置
- (三)、时间序列预测
- View log common commands
- Solidworks 2022 Inspection新增功能:光学字符识别、可自定义的检查报告
- MDK Keil debug时, watch1中全局变量不更新
- 记录一次客户的APP数据库版本号升级失败的情况
猜你喜欢
Kotlin协程 - 异常处理
Web 3D渲染引擎HOOPS Communicator动画编辑器的使用 | HOOPS教程
9.进程和计划任务管理(1)
交换机基本原理与配置
Use tensorflow.keras to build a neural network model modularly
传输层协议介绍
.net(一)WebService创建
The String class objects created by the JVM memory allocation and the difference between equals and = =
HOOPS是什么?这4款3D软件开发工具包你还不知道?
【Template】Tree Chain Segmentation P3384
随机推荐
ssh:connect to host master port 22:Network is unreachable
网络层协议介绍
SSM整合开发案例
设备指纹详解之识别垃圾账号
c语言位段
resourcemanager启动失败,别的节点成功
IP地址及子网划分
web自动化测试有哪些工具和框架?
C language: reverse character order
SOLIDWORKS 2022新功能直播揭秘!速来围观!
世界顶尖3D Web端渲染引擎:HOOPS Communicator技术介绍(一)
一键登陆服务器脚本
ncnn 推理猫狗识别
定时任务组件Quartz
EXCEL使用函数联调(find,mid,vlookup,xlookup)
Data storage implementation of SDRAM and read and write operations on its data
pc端ncnn搭建与测试
C language: adjust the order of odd and even numbers
Shell之函数与数组
我的创作纪念日