Joke Collection Website - Bulletin headlines - sql default value
sql default value
The default value can be written according to the data type format
What needs to be emphasized is the date. For example, if you define "YYYY-MM-DD", then when you write the default value, For example, if you use January 1, 2006 as the default value, you should write it in the 2006-01-01 format. For other values, such as defining it as an integer, you cannot write fractions in the default value. In other words, the default value writing format and data type Constraints are consistent.
(getdate()) can also be written as getdate(), but it cannot be written as 'getdate()', because the quotation marks represent a string instead of a function.
Chinese characters are character types and need to be enclosed in quotation marks.
- Previous article:How to do good trade union work
- Next article:Let the dream come. Jianye Blue Ocean Zhengfeng Good Life Experience Center is open.
- Related articles
- Environmental protection slogans in primary and secondary schools
- Seventh grade Chinese composition
- Why do people who go to road trip and cyclists like to take National Highway 3 18?
- What is the function of konjac?
- Competition slogan
- Fire safety propaganda slogan: do not overload electricity.
- 2021August 12 Qingdao Jiaodong International Airport Implementation Transition Operation-Traffic Guide
- What are the measures for bank fee reduction and profit concessions?
- Children, please don't litter in public places.
- Property fire prevention slogans