Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

What are the field types and properties of SQL datasheet

2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)05/31 Report--

This article mainly introduces the SQL datasheet field types and attributes, the article is very detailed, has a certain reference value, interested friends must read it!

1.SQL field type

Type space size (bytes) actual size other tinyint (display) 10-255unsign, zerofillsmallint (display) 265535unsign, zerofillint (display) 44 billion unsign, zerofillfloat (MMague D) 46 precision unsign, zerofilldouble (MMague D) 816precision unsign, zerofilldecimal (MMague D) unsign, zerofillchar (actual) 40-255super long truncation, insufficient blanking varchar (actual) 1x 50-255super long truncation, deficiency does not deal with

2.SQL Field Properties

Not null

Default value

Primary key

Auto_increment

Foreign key

Foreign key (foreign key id) references table name (primary key id)

The above is all the content of the article "what are the field types and attributes of SQL datasheet?" Thank you for reading! Hope to share the content to help you, more related knowledge, welcome to follow the industry information channel!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report