I am new to ASP.NET and I want to move data from database table to another table in the same database. I searched a lot but I didn't find such thing in ASP.NET MVC. I have a Table 1 and Table 2 in my ABC database and I want to move data from Table 1 to Table 2. I do not have much knowledge to do this thing have you know any blog that can solve my problem. I tried a lot but did not find.
http://blogs.msdn.com/b/adonet/archive/2012/02/09/ef-4-3-code-based-migrations-walkthrough.aspx
Entity Framework CodeFirst Move Data From One table To another
INSERT INTO table2 SELECT * FROM table1;would actually move data from one table to other. If you want to move specific columns, thenINSERT INTO table2 (column_name(s)) SELECT Column_name(s) FROM table1;