I am trying to perform a simple task, create a new column in a table and immediately try to copy the value of another column in the same table to the new created column, but I got
Invalid column name "COMMENT_TMP". mistake
SQL
Invalid column name "COMMENT_TMP".
ALTER TABLE TASK_COMMENT ADD COMMENT_TMP text; UPDATE TASK_COMMENT SET TASK_COMMENT.COMMENT_TMP = COMMENT;
sql-server tsql copy
simonC
source share