이 질문을 게시하기 전에 많은 것을 시도했지만 저에게는 도움이되지 않았습니다. 난 다음, SQL 서버 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 .
내가 어떻게 할 수 있습니까?