1,
alert table tablename
(
id int,
--other field
)
2,
差不多
alert table tablename
(
id int indentity(1,1),
--other field
)
3,
i don't know too
alert table tablename
(
id int,
--other field
)
2,
差不多
alert table tablename
(
id int indentity(1,1),
--other field
)
3,
i don't know too
(
id int,
--other field
)
有错误
事实上若是非Identity字段,应是
alert table tablename alter column columnname columntype;
但若是Identity字段就不知如何改了