can boolean data type be used in function that are called from sql statement code example Example: sql boolean data type Oracle: NUMBER(1) SQL server: BIT