当前位置:网站首页>GBASE 8s存储过程语法结构
GBASE 8s存储过程语法结构
2022-06-25 04:00:00 【八珍豆腐】
创建存储过程的SPL函数
在SPL中创建存储过程的一般格式如下:
CREATE [OR REPLACE] PROCEDURE/FUNCTION <存储过程名> ( <参数列表> )
{ 语句块 }
END;
语句块既一组SPL或SQL语句,隐式的语句块包括在CREATE PROCEDURE、FUNCTION和 END 之间, 可使用BEGIN 和END 来显示的指明内嵌在一个语句块中的语句块。
RETURING 或 RETURNS 关键字用来定义返回值的返回类型,返回类型可以是除Serial/Serial8和Text/Byte外的任意一种SQL的数据类型,在定义返回值类型时我们可以使用AS为返回值去一个名字。在函数体内必须有一个RETURN语句。
边栏推荐
- CTF_ Web:php weak type bypass and MD5 collision
- Sourcetree pulls the code and prompts to fill in authentic, but the configuration cannot change the user
- SQL, CTE, flg case problems
- GBASE 8s的级联删除功能
- 彻底理解数据库事务
- JS arrow function
- Mathematical analysis_ Notes_ Chapter 3: limits
- How many images can opencv open?
- CTF_ Web: basic 12 questions WP of attack and defense world novice zone
- What is persistence? What are RDB and AOF in redis persistence?
猜你喜欢
Watch out for the stolen face! So many risks of face recognition used every day?
CTF_ Web: Advanced questions of attack and defense world expert zone WP (1-4)
5 key indicators of SEO: ranking + traffic + session + length of stay + bounce rate
"How to carry out industrial positioning" in local / Park industrial planning
【openwrt】推荐一个国内开发的openwrt的版本,iStoreOS简介,非常好用,主要是做了一些优化。解决了汉化的问题。
【esp32学习之路6——flash加密】
关于TCP连接四次握手(或者叫四次挥手)的详细总结
Numpy NP tips: use OpenCV to interpolate and zoom the array to a fixed shape cv2 resize(res, dsize=(64, 64), interpolation=cv2. INTER_ CUBIC)
CTF_ Web: Advanced questions of attack and defense world expert zone WP (9-14)
LeetCode 劍指Offer II 091 粉刷房子[動態規劃] HERODING的LeetCode之路
随机推荐
IntStream API介绍
Vigilance against over range collection of privacy - ten mobile app violations
Standing wave ratio calculation method
Acmstreamopen return value problem
GBASE 8s的多线程结构
Upgrade cmake
彻底理解数据库事务
简单的恶意样本行文分析-入门篇
CTF_ Web: Advanced questions of attack and defense world expert zone WP (9-14)
Exercise: how difficult is it to simulate the blessing lottery two-color ball - China 500W grand prize? Just run the code.
Doubts about judging the tinyint field type of MySQL
Lecture record: data processing methods and applications of various spatial geodetic techniques
Coinlist how to operate the middle lot number security tutorial
CTF_ Web: Advanced questions of attack and defense world expert zone WP (1-4)
Coinlist queuing tutorial to improve the winning rate
Siddhartha: the book of life can be regurgitated frequently
Detailed explanation of flex attributes in flex layout
GbASE 8s中的Blob 页(Blobspace page)
Failed to install redis interface
Where is the red area of OpenCV?