While designing the schema of my application, I noticed that there is no Boolean
data-type option in the drop-down of Toad for MySQL .
Is there any other way to take Boolean
data-type or Toad doesn't have a Boolean
data-type ?
Note: I am using Toad for MySQL version 6.3.0.642.
Boolean
is not in the pre compiled list in toad
.
But it allows you to manually input data type boolean
for the columns.
When used such data type, toad
converts it into tinyint(1)
and builds the table.
Alternatively you can use BIT
data type to store '1'
or '0'
values. You can retrieve bit
type column and directly compare as if it is a boolean
.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.