How to drop column from temporary table ;;
i tried by this query ,but error message gives "Incorrect syntax near '@Temp"
my query is
alter table @Temp drop column id
Drop column from temporary table
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.

Pravin MoreRank #1,419 · 1.2K reputationPosted Nov 23, 2011, 9:49 PM EST
try this query
alter table #Temp drop column id
i think you misstyped @ intead of #.
Thanks,
Pravin.