Is anybody know how to avoid error message to run following script without using "GO" between the "ALTER TABLE" and "INSERT INTO" which shows I comment out at below?
CREATE TABLE #Temp
(
ID int,
Names varchar(50),
Description varchar(50)
)
INSERT INTO #Temp Values(1, 'Name1', 'Desc1')
INSERT INTO #Temp Values(2, 'Name2', 'Desc2')
ALTER TABLE #Temp Drop Column Description
--GO
INSERT INTO #Temp Values(1, 'Name1')