﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>SQLServerCentral / SQL Server 2008 / T-SQL (SS2K8)  / insert statements - multiple / Latest Posts</title><generator>InstantForum.NET v2.9.0</generator><description>SQLServerCentral</description><link>http://www.sqlservercentral.com/Forums/</link><webMaster>notifications@sqlservercentral.com</webMaster><lastBuildDate>Sat, 18 May 2013 09:42:41 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: insert statements - multiple</title><link>http://www.sqlservercentral.com/Forums/Topic1369349-392-1.aspx</link><description>This reminds me, now I try to use:Insert into...Select * from another tableThis makes it run very fast.</description><pubDate>Mon, 08 Oct 2012 16:10:34 GMT</pubDate><dc:creator>sqlfriends</dc:creator></item><item><title>RE: insert statements - multiple</title><link>http://www.sqlservercentral.com/Forums/Topic1369349-392-1.aspx</link><description>I don't know what the data looks like in the file but why not just use BULK INSERT?</description><pubDate>Sat, 06 Oct 2012 13:43:52 GMT</pubDate><dc:creator>Jeff Moden</dc:creator></item><item><title>RE: insert statements - multiple</title><link>http://www.sqlservercentral.com/Forums/Topic1369349-392-1.aspx</link><description>Try running the script using sqlcmd.  I have had this same issue with a few rather large scripts.  Wouldn't run in SSMS but ran fine when I ran it from the command line using sqlcmd.</description><pubDate>Fri, 05 Oct 2012 23:43:55 GMT</pubDate><dc:creator>Lynn Pettis</dc:creator></item><item><title>RE: insert statements - multiple</title><link>http://www.sqlservercentral.com/Forums/Topic1369349-392-1.aspx</link><description>Ya i faced the same issue while creating a one time script . Since it was meant for another team , so I just had it executed in 5000 records batch..  it could be a workaround..</description><pubDate>Fri, 05 Oct 2012 22:25:17 GMT</pubDate><dc:creator>demonfox</dc:creator></item><item><title>insert statements - multiple</title><link>http://www.sqlservercentral.com/Forums/Topic1369349-392-1.aspx</link><description>I have build database script, and one part of them is to insert data, so I have multiple insert statements 300000 records, it runs on and on, and later gives an error:HResult 0xE9, Level 16, State 1Shared Memory Provider: No process is on the other end of the pipe.Sqlcmd: Error: Microsoft SQL Server Native Client 10.0 : Communication link failure.Is there a limitation of records? what does this message mean?If  I run it directly in SSMS, just a few records, it is OK, but if all of them,it gives an error insufficient memory to continue the execution of the program sql server 2008Is there another option to insert these records, I know SSIS, but for this, because it is using a build script, so SSIS will not work.ThanksThanks</description><pubDate>Fri, 05 Oct 2012 17:34:55 GMT</pubDate><dc:creator>sqlfriends</dc:creator></item></channel></rss>