← Articles
SQL Shack · March 06, 2023

Learn SQL: Insert multiple rows commands

This article surveys ways of inserting multiple rows into SQL Server tables. It compares explicit multi-row VALUES clauses with INSERT SELECT statements that transfer the results of queries into existing destination tables.

The discussion also examines inserting data returned by other sources, including an MDX query accessed through an Analysis Services linked server. The examples demonstrate how the insertion method depends on whether values are supplied directly or obtained from an existing result set.

Visit original source ↗

Search website

Type to search the portfolio.

↑ ↓ Navigate · Enter to open · Esc to close