sql create table boolean data type code example Example: sql boolean data type Oracle: NUMBER(1) SQL server: BIT