当前位置:网站首页>About MySQL Boolean and tinyint (1)
About MySQL Boolean and tinyint (1)
2022-06-30 09:07:00 【Dazhi Technology】
MySQL preservation boolean Value 1 representative TRUE,0 representative FALSE.
boolean stay mysql The type in is tinyint(1).MySQL There are four constants in it :true,false,TRUE,FALSE Represent the 1,0,1,0.
create table test
(
id int primary key,
bl boolean
)
In this way, it can be created successfully . When you view the statement after creating a table, you will find that ,mysql Replace it with tinyint(1).
stay pojo Directly define the attribute as a Boolean value in :private Boolean statusv
边栏推荐
- Rew acoustic test (VI): signal and measurement
- QT downloading files through URL
- Invalid update: invalid number of sections. The number of sections contained in the table view after
- C#訪問SQL Server數據庫兩種方式的比較(SqlDataReader vs SqlDataAdapter)
- C accesses mongodb and performs CRUD operations
- Design specification for smart speakers v1.0
- C#访问SQL Server数据库两种方式的比较(SqlDataReader vs SqlDataAdapter)
- Opencv learning notes-day14 drawing of image geometry (rect class rotatedrect class, rectangle drawing rectangle circle drawing circular function line drawing line function ellipse drawing elliptic fu
- Codeworks 5 questions per day (1700 for each) - the third day
- Talk about how the kotlin process started?
猜你喜欢

Redis design and Implementation (II) | database (deletion strategy & expiration elimination strategy)

Use Huawei performance management service to configure the sampling rate on demand

Opencv learning notes -day4 image pixel reading and writing operations (array traversal and pointer traversal implementation, uchar vec3b data type and mat class functions mat:: at(), mat:: ptr())

Opencv learning notes-day6-7 (scroll bar operation demonstration is used to adjust image brightness and contrast, and createtrackbar() creates a scroll bar function)

Opencv learning notes -day13 pixel value statistics calculation of maximum and minimum values, average values and standard deviations (use of minmaxloc() and meanstddev() functions)

Occasionally, Flink data is overstocked, resulting in checkpoint failure

TiDB v6.0.0 (DMR) :缓存表初试丨TiDB Book Rush

Interpretation of orientedrcnn papers

Redis design and Implementation (V) | sentinel sentry

Talk about how the kotlin collaboration process establishes structured concurrency
随机推荐
Maxiouassigner of mmdet line by line interpretation
Flink 数据偶尔数据积压导致checkpoint失败
Comparaison de deux façons d'accéder à la base de données SQL Server (sqldatareader vs sqldataadapter)
Esp32 (7): I2S and I2C drivers for function development
100 lines of code and a voice conversation assistant
C # get the current timestamp
Qt连接神通数据库
Alcohol tester scheme: what principle does the alcohol tester measure alcohol solubility based on?
127.0.0.1、0.0.0.0和localhost
Understanding society at the age of 14 - reading notes on "happiness at work"
[JPEG] how to compile JPEG turbo library files on different platforms
Design specification for smart speakers v1.0
Pytorch BERT
vite項目require語法兼容問題解决require is not defined
Introduction to MySQL basics day3 power node [Lao Du] class notes
【付费推广】常见问题合集,推荐榜单FAQ
Rew acoustic test (I): microphone calibration
Agp7.0|kts makes a reinforced plug-in
Mmdet line by line deltaxywhbboxcoder
Talk about the kotlin cooperation process and the difference between job and supervisorjob