当前位置:网站首页>GBASE 8s存儲過程語法結構
GBASE 8s存儲過程語法結構
2022-06-25 04:31: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語句。
边栏推荐
- 彻底理解数据库事务
- 5 key indicators of SEO: ranking + traffic + session + length of stay + bounce rate
- GBASE 8s 总体架构
- How many images can opencv open?
- Zoran community
- PHP code audit 2 - these functions must be known and understood
- CTF_ Web: basic 12 questions WP of attack and defense world novice zone
- 95% of programmers fish here
- Smart contract learning materials
- Retrofit source code analysis
猜你喜欢
mongodb集群
Musk released humanoid robot. Why is AI significant to musk?
Error 1062 is reported during MySQL insertion, but I do not have this field.
【openwrt】推荐一个国内开发的openwrt的版本,iStoreOS简介,非常好用,主要是做了一些优化。解决了汉化的问题。
OBS Browser+浏览器的基本使用
Lecture record: data processing methods and applications of various spatial geodetic techniques
Is opencv open source?
Leetcode points to the leetcode road of offering II 091 house painting [dynamic planning] heroding
Anaconda installation +tensorflow installation +keras installation +numpy installation (including image and version information compatibility issues)
Laravel document sorting 4. Controller
随机推荐
"How to carry out industrial positioning" in local / Park industrial planning
kenlm
PHP code audit 1 - php Ini
[openwrt] we recommend a domestically developed version of openwrt, an introduction to istoreos. It is very easy to use. It is mainly optimized. It solves the problem of Sinicization.
CTF_ Web:8-bit controllable character getshell
GBASE 8s的数据导入和导出
Synchronous and asynchronous functions (callback function, promise, generator, async/await)
Doubts about judging the tinyint field type of MySQL
无法安装redis接口
openmmlab-环境配置
文本关键词提取:ansj
A detailed summary of four handshakes (or four waves) over TCP connections
CTF_ Web: advanced problem WP (5-8) of attack and defense world expert zone
Uniapp makes mobile app programs, using uni Choosevideo record video, video playback is fuzzy, and the resolution is low
1. Phase II of the project - user registration and login
GBASE 8s活锁、死锁问题的解决
mysql的tinyint字段类型判断的疑惑
GBASE 8s的隔离级别介绍
How to install opencv? Opencv download installation tutorial
第二十五周记录