更改某字段的内容

ALTER TABLE CustomerAnswer MODIFY reservation INT NOT NULL DEFAULT'4';

 

把CustomerAnswer表中 reservation 修改为 int类型 默认为4 且不为空

posted @ 2022-05-25 17:01  凯宾斯基  阅读(32)  评论(0)    收藏  举报