打印

关于including identity column attributes

关于including identity column attributes

当我执行
create table tb7 like tb4 including identity column attributes
,为什么先是显示说sql出错,然后就数据会崩溃?
真是好奇怪?我只不过想把tb4再复制一个而已

TOP

你可以这样写:
create table tb7 as ( select * from tb4) definition only

TOP

这个我知道呀,但是我想把所有的关键字和约束也copy出来

TOP

也可以用export和import,采用ixf文件格式

TOP

恩,那倒也是一个办法
不过including identity column attributes 是不是也是这个功能?

TOP

不好意思,including identity column attributes只能复制identity column^o^

TOP


感谢一直以来您对我们的支持!
当前时区 GMT+8, 现在时间是 2008-12-3 08:55 京ICP证060528 号

Designed By 17DST