How to Do Multiple Inserts In a Single SQL Statement

Published: 02 April 2021
on channel: Sean MacKenzie Data Engineering
5,032
44

How to Do Multiple Inserts In a Single SQL Statement

In this episode, we’ll look at how to do many inserts into a table while only using a single SQL statement. This method is very efficient compared to using many insert statements for the same purpose. It is supported on many (but not all) database platforms. For SQL Server, you need the 2008+ versions to use multiple inserts. Have you ever had a project where this would have come in handy?


Want to work with me 1:1? Contact me today and book your free 20 min consultation!
Contact form you can find at http://www.mackenziemackenzie.com/

Follow me on social media:

  / mackenziedataanalytics  
  / seamacke  
  / seamacke  
  / seamacke  
  / psmackenzie  

Get Microsoft Office including Access:
https://click.linksynergy.com/fs-bin/...

Got a YouTube Channel? I use TubeBuddy, it is awesome. Give it a try:
https://www.tubebuddy.com/seanmackenz...


#SQLserver #MultipleInsertsSQLserver #SQLstatement

   • How to Do Multiple Inserts In a Single SQL...  


On this page of the site you can watch the video online How to Do Multiple Inserts In a Single SQL Statement with a duration of hours minute second in good quality, which was uploaded by the user Sean MacKenzie Data Engineering 02 April 2021, share the link with friends and acquaintances, this video has already been watched 5,032 times on youtube and it was liked by 44 viewers. Enjoy your viewing!