Easiest way to insert new data to table with large number of columns

Experts,

In SQL Server 2014, I have new data sitting in a table (second table) that I need to append to another table (the first table).
Both tables schemas are identical and have 60 columns each.
I'm lazy and really don't want to write an INSERT INTO query referring to all 60 columns individually.
Is there an easier way?

Thanks in advance.
LVL 1
bobinorlandoAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Aneesh RetnakaranDatabase AdministratorCommented:
You can generate the insert script from SSMS,
0
Aneesh RetnakaranDatabase AdministratorCommented:
right lick the database -> generate scripts -> choose the table - > next -> advanced options- >  there should be a property that says script data
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Jim HornMicrosoft SQL Server Developer, Architect, and AuthorCommented:
>Both tables schemas are identical and have 60 columns each.
As long as the table schema is the same...

INSERT INTO new_table SELECT * FROM old_table
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

jsaunCommented:
or even:  CREATE TABLE NEW_TABLE_NAME AS (SELECT * FROM OLD_TABLE_NAME);
0
Jim HornMicrosoft SQL Server Developer, Architect, and AuthorCommented:
Thanks for the grade.  Ironically this question was on the 70-461 exam as 'What is the easiest way...', regardless of whether it is a best practice or not.  Tricky.
0
bobinorlandoAuthor Commented:
Wow I didn't realize
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft SQL Server

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.