SQL语法:
ALTER TABLE 表名
ADD 字段 类型 not null default(默认值)
例如:在A表中增加字段Prcie(价格) 类型为money 不能为空 默认值为0.0
SQL如下: ALTER TABLE A ADD Price money not null default(0.0)
打点小广告,感谢大家支持
SQL语法:
ALTER TABLE 表名
ADD 字段 类型 not null default(默认值)
例如:在A表中增加字段Prcie(价格) 类型为money 不能为空 默认值为0.0
SQL如下: ALTER TABLE A ADD Price money not null default(0.0)
打点小广告,感谢大家支持
相关文章: