Click here to Skip to main content
15,914,795 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi

I need how to move data Temp table into Normal table.
Posted
Comments
ARK Kambhampati 29-Jul-11 3:56am    
HI

1 solution

SQL
CREATE TABLE #TemporaryTable (UserID INT, UserName NVARCHAr(50))
-- assuming ActualDataTable and temp table have same schema
INSERT ActualDataTable
    SELECT * FROM #TemporaryTable
DROP TABLE #TemporaryTable
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900