SQLserver 中已建好的表 怎样用 T-SQL语句插入新一列???
怎样用 T-SQL语句设置主建自动增长???求解
------解决方案--------------------
- SQL code
use tempdbgo create table test(name char(10));go--插入一列ID,alter table test add id int identity(1,1)
------解决方案--------------------
借用一下楼上的
插入新一列:
- SQL code
--插入一列ID,alter table test add id int