sql - How to insert rows with structure from one table to another table? -


what query in sql server insert rows structure 1 table table?

a couple ways

select into

select     field1,    field2,    ... table1 table2 

insert into

insert table1    field1,    field2,    ... select    field1,    field2,    ... table2 

Comments

Popular posts from this blog

objective c - Change font of selected text in UITextView -

php - Accessing POST data in Facebook cavas app -

c# - Getting control value when switching a view as part of a multiview -