家电维修教程,酷网基金,偷梁换柱的意思
1.通用方法:
eg:
do $$ begin begin alter table dingtalk_corp_info add column admin_id text; exception when duplicate_column then raise notice 'column admin_id already exists in dingtalk_corp_info.'; end; end; $$;
2.pgsql 9.6+:
eg:
alter table dingtalk_corp_info add column if not exists admin_id text;
3.直接添加
eg:
alter table dingtalk_corp_info add column admin_id text;
如对本文有疑问,请在下面进行留言讨论,广大热心网友会与你互动!! 点击进行留言回复
数据库SQL---数据库、基本表、视图、索引的定义、修改、删除
在 Azure CentOS VM 中配置 SQL Server 2019 AG - (上)
在 Azure CentOS VM 中配置 SQL Server 2019 AG - (下)
网友评论