
版权声明:本文为博主原创文章,未经博主允许不得转载。
http://topic.csdn.net/t/20040919/20/3388579.html
oracel的pl/sql有:
You use the BOOLEAN datatype to store the logical values TRUE, FALSE, and NULL
(which stands for a missing, unknown, or inapplicable value). Only logic operations are allowed on BOOLEAN variables.
The BOOLEAN datatype takes no parameters. Only the values TRUE, FALSE, and
NULL can be assigned to a BOOLEAN variable. You cannot insert the values TRUE
and FALSE into a database column. Also, you cannot select or fetch column values
into a BOOLEAN variable.
oracel的sql没有。
=========
PL/SQL中是有Boolean类型的,只能取2个值:true和false;不过,Boolean类型在Oracle内部也是用INTEGER模拟的。
这个是8i中的定义
type BOOLEAN is (FALSE, TRUE);
==============
存储过程中的变量可以是boolean型,但数据类型没有!