在發佈此問題之前,我嘗試了很多事情,但這對我沒有幫助。 我要重命名錶在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