DB2
常用函数实例版
使
用
说
明
:
函
数
定
义
形
式
result
:
schema-name.funcation_name(para-list)
其中参数列表形式
,<>
表示必选参数
,[]
表示可选参数
,|
表示任选其一
下面的所有实例均在
DB2 V95
版本测试通过,
如果是新版本会加注。
any-builtin-type:Any data type that is not a distinct type
structured-type:Any user-defined structured type defined to the
database
character-type:Any
of
the
character
string
types:
CHAR,
VARCHAR, LONG VARCHAR, CLOB.
datetime-type:Any
of
the
datetime
types:
DATE,
TIME,
TIMESTAMP
graphic-type:Any
of
the
double
byte
character
string
types:
GRAPHIC, VARGRAPHIC, LONGVARGRAPHIC, DBCLOB.
string-type:Any type from character type, graphic-type or BLOB
numeric-type:Any
of
the
numeric
types:
SMALLINT,
INTEGER,
BIGINT, DECIMAL, REAL, DOUBLE.
函数定义的
Schema
有
sysfun
和
sysibm