在发布此问题之前,我尝试了很多事情,但这对我没有帮助。 我要重命名表在SQL Server 2005中柱,下面的查询我在SQL Server2005中运行:SQL服务器2005查询未运行
1) ALTER TABLE Details RENAME COLUMN AccountID TO UID; but it gives me the error: Incorrect syntax near the keyword 'COLUMN'.
2)I have added one new column in the table by query: ALTER TABLE Details ADD BID uniqueidentifier; and then I want to set the coulmn property to not null .
我怎样才能做到这一点?
在此先感谢 AS