当前位置:网站首页>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 ;
边栏推荐
- GBase 8c系统表-pg_amproc
- How to find summer technical internship in junior year? Are you looking for a large company or a small company for technical internship?
- [codeforces] cf1338a - Powered addition [binary]
- [Yu Yue education] reference materials of love psychology of China University of mining and technology
- My creation anniversary
- Gbase 8C system table PG_ collation
- SPI机制
- Codeforces Round #418 (Div. 2) D. An overnight dance in discotheque
- 通达OA 首页门户工作台
- 苏世民:25条工作和生活原则
猜你喜欢
![[Flutter] dart: class;abstract class;factory;类、抽象类、工厂构造函数](/img/06/ab333a4752de27eae2dd937cf579e2.png)
[Flutter] dart: class;abstract class;factory;类、抽象类、工厂构造函数

Wechat applet development tool post net:: err_ PROXY_ CONNECTION_ Failed agent problem

Detailed introduction to the deployment and usage of the Nacos registry

PyTorch 卷积网络正则化 DropBlock

Coroutinecontext in kotlin

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

詳細些介紹如何通過MQTT協議和華為雲物聯網進行通信

Return a tree structure data

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

通达OA v12流程中心
随机推荐
es6 filter() 数组过滤方法总结
通达OA v12流程中心
MySQL learning 03
Explore the conversion between PX pixels and Pt pounds, mm and MM
[Flutter] dart: class;abstract class;factory;类、抽象类、工厂构造函数
Job object of collaboration in kotlin
Cancellation of collaboration in kotlin, side effects of cancellation and overtime tasks
awk从入门到入土(3)awk内置函数printf和print实现格式化打印
502 (bad gateway) causes and Solutions
Socket programming
返回一个树形结构数据
Prohibited package name
[shutter] bottom navigation bar implementation (bottomnavigationbar bottom navigation bar | bottomnavigationbaritem navigation bar entry | pageview)
leetcode961. Find the elements repeated N times in the array with length 2n
[tutorial] chrome turns off cross domain policies CORS and samesite, and brings cookies across domains
Socket编程
微信小程序開發工具 POST net::ERR_PROXY_CONNECTION_FAILED 代理問題
GBase 8c系统表-pg_conversion
Leetcode 183 Customers who never order (2022.07.02)
Distributed transaction solution