当前位置:网站首页>Gbase 8C function / stored procedure definition
Gbase 8C function / stored procedure definition
2022-07-03 02:22:00 【Dazhuang twelve】
GBase 8c Functions or stored procedures are stored on the database server and can be used SQL A set of interface calls SQL And procedure statements ( Statement , Distribute , loop , Control process, etc ). It helps you perform operations that typically perform multiple queries and round trips in a single function in the database .
Can be in multiple languages ( Such as SQL,PL/pgSQL,C,Python etc. ) Created in GBase 8c function / stored procedure .
grammar :
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
- [Yu Yue education] reference materials of chemical experiment safety knowledge of University of science and technology of China
- leetcode961. Find the elements repeated N times in the array with length 2n
- require.context
- [fluent] fluent debugging (debug debugging window | viewing mobile phone log information | setting normal breakpoints | setting expression breakpoints)
- GBase 8c系统表pg_database
- easyPOI
- Javescript 0.1 + 0.2 = = 0.3 problem
- 使用Go语言实现try{}catch{}finally
- Gbase 8C system table PG_ authid
猜你喜欢

8 free, HD, copyright free video material download websites are recommended

创建+注册 子应用_定义路由,全局路由与子路由

Recommendation letter of "listing situation" -- courage is the most valuable

通达OA 首页门户工作台

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

oauth2.0鉴权,登录访问 “/oauth/token”,请求头Authorization(basicToken)如何取值???

Oauth2.0 authentication, login and access "/oauth/token", how to get the value of request header authorization (basictoken)???

基于线程池的生产者消费者模型(含阻塞队列)

Job object of collaboration in kotlin

Solution for processing overtime orders (Overtime unpaid)
随机推荐
awk从入门到入土(1)awk初次会面
javeScript 0.1 + 0.2 == 0.3的问题
stm32F407-------DMA
The sandbox explains its vision for the meta universe platform
GBase 8c 函数/存储过程参数(一)
leetcode961. Find the elements repeated N times in the array with length 2n
GBase 8c 创建用户/角色 示例二
8 free, HD, copyright free video material download websites are recommended
Y54. Chapter III kubernetes from introduction to mastery -- ingress (27)
4. Classes and objects
QT qcombobox add qccheckbox (drop-down list box insert check box, including source code + comments)
单词单词单词
机器学习流程与方法
[Yu Yue education] reference materials of love psychology of China University of mining and technology
GBase 8c系统表-pg_amproc
简单理解svg
[codeforces] cf1338a - Powered addition [binary]
Summary of ES6 filter() array filtering methods
[tutorial] chrome turns off cross domain policies CORS and samesite, and brings cookies across domains
Detailed analysis of micro service component sentinel (hystrix)