Skip to Content
SQL Server 2014 Development Essentials
book

SQL Server 2014 Development Essentials

by Basit A. Masood-Al-Farooq
July 2014
Intermediate to advanced
214 pages
4h 47m
English
Packt Publishing
Content preview from SQL Server 2014 Development Essentials

The SELECT INTO statement

The SELECT INTO statement is another way to insert data into SQL Server tables. When you use SELECT INTO, SQL Server creates a new table with the specified name in the default filegroup and then inserts the rows from a SELECT query in the newly created table. This new table is based on the columns you specify in the SELECT list, and it must be unique within a database.

Tip

The SELECT…INTO statement has been enhanced in SQL Server 2014, and it can now operate in parallel. The parallel insert functionality of SELECT…INTO requires database compatibility level 110 or higher.

To execute the SELECT…INTO statement, a user must have at least the SELECT permission assigned on the target table and the CREATE TABLE permission assigned ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

What's New in SQL Server 2012

What's New in SQL Server 2012

Rachel Horder
Mastering SQL Server® 2008

Mastering SQL Server® 2008

Michael Lee, Gentry Bieker
Microsoft® SQL Server 2012 Unleashed

Microsoft® SQL Server 2012 Unleashed

Ray Rankins, Paul T. Bertucci, Chris Gallelli, Alex T. Silverstein

Publisher Resources

ISBN: 9781782172550Supplemental Content