当前位置:网站首页>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 ;
边栏推荐
- 【ROS进阶篇】第六讲 ROS中的录制与回放(rosbag)
- Create + register sub apps_ Define routes, global routes and sub routes
- How do it students find short-term internships? Which is better, short-term internship or long-term internship?
- Monitoring and management of JVM
- Prohibited package name
- 基于线程池的生产者消费者模型(含阻塞队列)
- [shutter] bottom navigation bar implementation (bottomnavigationbar bottom navigation bar | bottomnavigationbaritem navigation bar entry | pageview)
- Tongda OA V12 process center
- Summary of ES6 filter() array filtering methods
- JS的装箱和拆箱
猜你喜欢

stm32F407-------DMA
![[shutter] top navigation bar implementation (scaffold | defaulttabcontroller | tabbar | tab | tabbarview)](/img/f1/b17631639cb4f0f58007b86476bcc2.gif)
[shutter] top navigation bar implementation (scaffold | defaulttabcontroller | tabbar | tab | tabbarview)

Machine learning notes (constantly updating...)

Coroutinecontext in kotlin

Memory pool (understand the process of new developing space from the perspective of kernel)

Trial setup and use of idea GoLand development tool

Thread safe singleton mode

Awk from introduction to earth (0) overview of awk

微信小程序開發工具 POST net::ERR_PROXY_CONNECTION_FAILED 代理問題

内存池(内核角度理解new开辟空间的过程)
随机推荐
创建+注册 子应用_定义路由,全局路由与子路由
[shutter] top navigation bar implementation (scaffold | defaulttabcontroller | tabbar | tab | tabbarview)
Introduce in detail how to communicate with Huawei cloud IOT through mqtt protocol
awk从入门到入土(2)认识awk内置变量和变量的使用
苏世民:25条工作和生活原则
Wechat applet Development Tool Post net:: Err Proxy Connexion Problèmes d'agent défectueux
Monitoring and management of JVM
[Yu Yue education] reference materials of chemical experiment safety knowledge of University of science and technology of China
require.context
GBase 8c 创建用户/角色 示例二
stm32F407-------ADC
微服务组件Sentinel (Hystrix)详细分析
内存池(内核角度理解new开辟空间的过程)
8 free, HD, copyright free video material download websites are recommended
My creation anniversary
GBase 8c触发器(二)
[Yu Yue education] reference materials of love psychology of China University of mining and technology
udp接收队列以及多次初始化的测试
Swift development learning
SPI mechanism