当前位置:网站首页>Gbase 8C function / stored procedure parameters (I)
Gbase 8C function / stored procedure parameters (I)
2022-07-03 02:22:00 【Dazhuang twelve】
- name: The name of the function to be created ( Can be modified by patterns ), Value range : character string ;
- argmode: Mode of function parameters , Value range :IN、OUT、INOUT perhaps VARIADIC, Default is IN. Only OUT The parameters of the mode can be followed by VARIADIC(VARIADIC Parameters for declaring array types ), And OUT and INOUT Mode parameters cannot be used in RETURNS TABLE In the function definition of symbol ;
- argname: The name of the function parameter , Value range : character string ;
- argtype: The data type of the function parameter ;
- default_expr: Default expression for parameter ;
- rettype: The data type of the value returned by the function , If there is OUT or IN OUT Parameters , It can be omitted RETURNS Clause , If not omitted RETURNS Clause must be consistent with the result type represented by the output parameter : If multiple output parameters , Then for RECORD Otherwise, the type is the same as that of a single output parameter .SETOF The modifier indicates that the function will return a set , Not a single item ;
- column_name: Field name ;
- column_type: Field type ;
- lang_name: The name of the language used to implement the function . It can be SQL,C,internal, Or user-defined process language name . To ensure downward compatibility , The name can be in single quotation marks ( Surround ). If single quotation mark is used , Then the quotation marks must be capitalized ;
- TRANSFORM { FOR TYPE type_name } [, ... ] }: List of type conversions , Applicable to calls to functions ;
- WINDOW: Indicates that the function is a window function , Usually only used for C Functions written in language . Cannot change when replacing function definitions WINDOW attribute ;
- IMMUTABLE: It means that the function always returns the same result when giving the same parameter value ;
- STABLE: Indicates that the function cannot modify the database , For the same parameter value , In the same table scan , The return value of this function remains unchanged , But the return value may be different SQL Changes between statements ;
- VOLATILE: Indicates that the value of this function can be changed in a table scan , Therefore, no optimization will be done ;
- LEAKPROOF: Point out that the parameters of this function only include the return value .LEAKPROOF It can only be set by the system administrator ;
- CALLED ON NULL INPUT: Indicates that some parameters of the function are NULL Can be called in the normal way . This parameter can be omitted ;
边栏推荐
- Pytorch convolution network regularization dropblock
- Gbase 8C system table PG_ conversion
- 詳細些介紹如何通過MQTT協議和華為雲物聯網進行通信
- easyExcel
- The use of Flink CDC mongodb and the implementation of Flink SQL parsing complex nested JSON data in monggo
- awk从入门到入土(2)认识awk内置变量和变量的使用
- 4. 类和对象
- GBase 8c 函数/存储过程参数(二)
- Startup mode and scope builder of collaboration in kotlin
- Machine learning process and method
猜你喜欢

SPI机制

easyPOI
![[shutter] bottom navigation bar implementation (bottomnavigationbar bottom navigation bar | bottomnavigationbaritem navigation bar entry | pageview)](/img/41/2413af283e8f1db5d20ea845527175.gif)
[shutter] bottom navigation bar implementation (bottomnavigationbar bottom navigation bar | bottomnavigationbaritem navigation bar entry | pageview)

Coroutinecontext in kotlin

elastic stack

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

SPI mechanism

Pytorch convolution network regularization dropblock

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

Use go language to realize try{}catch{}finally
随机推荐
簡單理解svg
udp接收队列以及多次初始化的测试
8 free, HD, copyright free video material download websites are recommended
简单理解svg
Awk from introduction to earth (0) overview of awk
Detailed introduction to the usage of Nacos configuration center
CFdiv2-Fixed Point Guessing-(区间答案二分)
elastic stack
The sandbox explains its vision for the meta universe platform
Detailed analysis of micro service component sentinel (hystrix)
Wechat applet development tool post net:: err_ PROXY_ CONNECTION_ Failed agent problem
Solution for processing overtime orders (Overtime unpaid)
Unrecognized SSL message, plaintext connection?
使用Go语言实现try{}catch{}finally
Tongda OA homepage portal workbench
[codeforces] cf1338a - Powered addition [binary]
[Flutter] dart: class; abstract class; factory; Class, abstract class, factory constructor
Socket编程
iptables 4层转发
awk从入门到入土(2)认识awk内置变量和变量的使用