1.基本数据类型(9种)
- Date
- Number
- Int
- Char
- Vchar2 2000
- Long 2gb
- Boolean(true/false/null)
- PLS_INTEGER (integer)
- BINARY_INTEGER(integer)
2.变量声明
- variable_name [CONSTANT] datatype [NOT NULL] [:= | DEFAULT initial_value]
- 变量名 数据类型()
3.运算符
算术预算符
- +
- -
- *
- /
- **
关系运算符
- =
- <>,!=,~=
- >,>=
- <,<=
比较运算符
- like
- in
- between
- IS NULL
逻辑运算符
- and
- or
- not
PL/SQL运算符优先级
时间: 2024-12-09 01:27:18