在数据库中创建视图时如何添加comment注释?如何设置不可为空
1条回答 默认 最新
凉城┓.〆 2023-03-10 18:34关注mysql:
create table users(id int primary key comment ‘注释’);postgresql:
create table if not table_name ( id bigserial, dt date not null, created_at timestamp default current_timestamp, updated_at timestamp default current_timestamp ); comment on table table_name is '表名'; comment on column table_name.dt is '值班日';若有用,望采纳,谢谢
解决 无用评论 打赏 举报 编辑记录