📜  更改域 sql 代码示例

📅  最后修改于: 2022-03-11 15:05:13.056000             🧑  作者: Mango

代码示例1
ALTER DOMAIN { ime | staro_ime TO novo_ime }{
[SET DEFAULT {literal | NULL | USER | ….}]
| [DROP DEFAULT]
| [ADD [CONSTRAINT] CHECK ()]
| [DROP CONSTRAINT]
|TYPE tip_domene };


---------------------------------------------------------------
Primer: 
ALTER DOMAIN DTip_davka TO Domena_DDV;
ALTER DOMAIN Dspol SET DEFAULT 'M';