当前位置:   article > 正文

Default Values for Columns (163)

detail: default value for column id of table dm_m0.rolechen888_test depends

You can assign a default value to a column of a table so that when a new row is
inserted and a value for the column is omitted or keyword DEFAULT is supplied, a
default value is supplied automatically. Default column values work as though an
INSERT statement actually specifies the default value.
The datatype of the default literal or expression must match or be convertible to the
column datatype.
If a default value is not explicitly defined for a column, then the default for the column
is implicitly set to NULL.

列默认值
1. 默认值或默认表达式的数据类型应与相应列的数据类型相同,或能够进行数据转换
2. 如果没有为某列显示地定义默认值 ,那么此列的默认值被隐式地定义为 NULL.

[@more@]

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/10599713/viewspace-981300/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/10599713/viewspace-981300/

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/繁依Fanyi0/article/detail/316554
推荐阅读
相关标签
  

闽ICP备14008679号