当前位置:网站首页>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 [, ...] ) ]
边栏推荐
- Storage basic operation
- stm32F407-------ADC
- What are MySQL locks and classifications
- 通达OA 首页门户工作台
- Ni visa fails after LabVIEW installs the third-party visa software
- Flink CDC mongoDB 使用及Flink sql解析monggo中复杂嵌套JSON数据实现
- [shutter] shutter debugging (debugging fallback function | debug method of viewing variables in debugging | console information)
- Producer consumer model based on thread pool (including blocking queue)
- Modify table structure
- In 2022, 95% of the three most common misunderstandings in software testing were recruited. Are you that 5%?
猜你喜欢

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

Create + register sub apps_ Define routes, global routes and sub routes

Coroutinecontext in kotlin

Anna: Beibei, can you draw?

Awk from introduction to earth (0) overview of awk

创建+注册 子应用_定义路由,全局路由与子路由
![[fluent] fluent debugging (debug debugging window | viewing mobile phone log information | setting normal breakpoints | setting expression breakpoints)](/img/ac/bf83f319ea787c5abd7ac3fabc9ede.jpg)
[fluent] fluent debugging (debug debugging window | viewing mobile phone log information | setting normal breakpoints | setting expression breakpoints)
【ROS进阶篇】第六讲 ROS中的录制与回放(rosbag)

How can retail enterprises open the second growth curve under the full link digital transformation

Detailed analysis of micro service component sentinel (hystrix)
随机推荐
COM and cn
5. File operation
创建+注册 子应用_定义路由,全局路由与子路由
[Yu Yue education] reference materials of love psychology of China University of mining and technology
Awk from introduction to earth (0) overview of awk
[fluent] fluent debugging (debug debugging window | viewing mobile phone log information | setting normal breakpoints | setting expression breakpoints)
Summary of ES6 filter() array filtering methods
require. context
通达OA v12流程中心
Detailed analysis of micro service component sentinel (hystrix)
Analyzing several common string library functions in C language
Cancellation of collaboration in kotlin, side effects of cancellation and overtime tasks
[Flutter] dart: class; abstract class; factory; Class, abstract class, factory constructor
Unrecognized SSL message, plaintext connection?
去除网页滚动条方法以及内外边距
4. Classes and objects
Return a tree structure data
leetcode961. Find the elements repeated N times in the array with length 2n
Socket编程
How to find summer technical internship in junior year? Are you looking for a large company or a small company for technical internship?