当前位置:网站首页>GBase 8c 函数/存储过程定义
GBase 8c 函数/存储过程定义
2022-07-03 02:18:00 【大壮十二】
GBase 8c函数或存储过程是存储在数据库服务器上并可以使用SQL界面调用的一组SQL和过程语句(声明,分配,循环,控制流程等)。 它有助于您执行通常在数据库中的单个函数中进行多次查询和往返操作的操作。
可以在多种语言(如SQL,PL/pgSQL,C,Python等)中创建GBase 8c函数/存储过程。
语法:
CREATE [ OR REPLACE ] FUNCTION
name ( [ [ argmode ] [ argname ] argtype [ { DEFAULT | = } default_expr ] [, ...] ] )
[ RETURNS rettype
| RETURNS TABLE ( column_name column_type [, ...] ) ]
{ LANGUAGE lang_name
| TRANSFORM { FOR TYPE type_name } [, ... ]
| WINDOW
| IMMUTABLE | STABLE | VOLATILE | [ NOT ] LEAKPROOF
| CALLED ON NULL INPUT | RETURNS NULL ON NULL INPUT | STRICT
| [ EXTERNAL ] SECURITY INVOKER | [ EXTERNAL ] SECURITY DEFINER
| PARALLEL { UNSAFE | RESTRICTED | SAFE }
| COST execution_cost
| ROWS result_rows
| SET configuration_parameter { TO value | = value | FROM CURRENT }
| AS 'definition'
| AS 'obj_file', 'link_symbol'
} ...
[ WITH ( attribute [, ...] ) ]
边栏推荐
- 502 (bad gateway) causes and Solutions
- Answers to ten questions about automated testing software testers must see
- Awk from entry to burial (1) awk first meeting
- Y54. Chapter III kubernetes from introduction to mastery -- ingress (27)
- easyExcel
- [shutter] top navigation bar implementation (scaffold | defaulttabcontroller | tabbar | tab | tabbarview)
- es6 filter() 数组过滤方法总结
- Prohibited package name
- QT qcombobox add qccheckbox (drop-down list box insert check box, including source code + comments)
- Leetcode 183 Customers who never order (2022.07.02)
猜你喜欢
![[shutter] hero animation (hero realizes radial animation | hero component createrecttween setting)](/img/e7/915404743d6639ac359bb4e7f7fbb7.jpg)
[shutter] hero animation (hero realizes radial animation | hero component createrecttween setting)
![[shutter] shutter debugging (debugging fallback function | debug method of viewing variables in debugging | console information)](/img/66/0fda43da0d36fc0c9277ca86ece252.jpg)
[shutter] shutter debugging (debugging fallback function | debug method of viewing variables in debugging | console information)
![[shutter] shutter debugging (debugging control related functions | breakpoint management | code operation control)](/img/fe/c053f8d116eb307733177283a26318.png)
[shutter] shutter debugging (debugging control related functions | breakpoint management | code operation control)

How to deal with cache hot key in redis

Coroutinecontext in kotlin

Servlet中数据传到JSP页面使用el表达式${}无法显示问题

Return a tree structure data

UDP receive queue and multiple initialization test

Hard core observation 547 large neural network may be beginning to become aware?

内存池(内核角度理解new开辟空间的过程)
随机推荐
Deep learning notes (constantly updating...)
返回一个树形结构数据
RestCloud ETL 跨库数据聚合运算
Introduce in detail how to communicate with Huawei cloud IOT through mqtt protocol
Explore the conversion between PX pixels and Pt pounds, mm and MM
require.context
Unrecognized SSL message, plaintext connection?
Job object of collaboration in kotlin
Socket programming
深度学习笔记(持续更新中。。。)
【CodeForces】CF1338A - Powered Addition【二进制】
Apple releases MacOS 11.6.4 update: mainly security fixes
[shutter] top navigation bar implementation (scaffold | defaulttabcontroller | tabbar | tab | tabbarview)
leetcode961. Find the elements repeated N times in the array with length 2n
去除网页滚动条方法以及内外边距
require. context
Thread safe singleton mode
Face recognition 6-face_ recognition_ Py based on OpenCV, face detection and real-time tracking using Haar cascade and Dlib Library
In 2022, 95% of the three most common misunderstandings in software testing were recruited. Are you that 5%?
[Yu Yue education] Jiujiang University material analysis and testing technology reference