变更网域变更类型 [英] Alter domain change type

查看:70
本文介绍了变更网域变更类型的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有更改域类型并将类型更改为新类型的方法?我有一列使用具有 VARCHAR(25)类型的域,并且想将长度增加到150.

Is there anyway to alter the domain type and change the type to a new type? I have a column using the domain that has a VARCHAR(25) type and would like to increase the length to 150.

推荐答案

创建一个新域,用新域更改所有表并删除旧域.

Create a new domain, alter all tables with new domain and drop old domain.

这篇关于变更网域变更类型的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆