<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: SQL SERVER &#8211; Three Methods to Insert Multiple Rows into Single Table &#8211; SQL in Sixty Seconds #024 &#8211; Video</title>
	<atom:link href="http://blog.sqlauthority.com/2012/08/29/sql-server-three-methods-to-insert-multiple-rows-into-single-table-sql-in-sixty-seconds-024-video/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.sqlauthority.com/2012/08/29/sql-server-three-methods-to-insert-multiple-rows-into-single-table-sql-in-sixty-seconds-024-video/</link>
	<description>Personal Notes of Pinal Dave</description>
	<lastBuildDate>Sun, 26 May 2013 03:27:17 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>By: South Park</title>
		<link>http://blog.sqlauthority.com/2012/08/29/sql-server-three-methods-to-insert-multiple-rows-into-single-table-sql-in-sixty-seconds-024-video/#comment-437180</link>
		<dc:creator><![CDATA[South Park]]></dc:creator>
		<pubDate>Thu, 14 Mar 2013 10:25:14 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=20481#comment-437180</guid>
		<description><![CDATA[what a blog]]></description>
		<content:encoded><![CDATA[<p>what a blog</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jaison K V</title>
		<link>http://blog.sqlauthority.com/2012/08/29/sql-server-three-methods-to-insert-multiple-rows-into-single-table-sql-in-sixty-seconds-024-video/#comment-411180</link>
		<dc:creator><![CDATA[Jaison K V]]></dc:creator>
		<pubDate>Tue, 22 Jan 2013 11:07:51 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=20481#comment-411180</guid>
		<description><![CDATA[Hello Every one,

Is there any way to store multiple images in image field? I am using sql2005

Thanks in advance,
Jaison]]></description>
		<content:encoded><![CDATA[<p>Hello Every one,</p>
<p>Is there any way to store multiple images in image field? I am using sql2005</p>
<p>Thanks in advance,<br />
Jaison</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bhumika Patel</title>
		<link>http://blog.sqlauthority.com/2012/08/29/sql-server-three-methods-to-insert-multiple-rows-into-single-table-sql-in-sixty-seconds-024-video/#comment-402872</link>
		<dc:creator><![CDATA[Bhumika Patel]]></dc:creator>
		<pubDate>Wed, 02 Jan 2013 20:10:52 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=20481#comment-402872</guid>
		<description><![CDATA[hello.... sir,
i want to store multiple values in one tuple...
(e.g my project is restaurant billing ) so how can i store multiple items with single bill no.... it generates multiple rows with every new item entry in database for one bill... .. 
please help me sir..... 
thank you....]]></description>
		<content:encoded><![CDATA[<p>hello&#8230;. sir,<br />
i want to store multiple values in one tuple&#8230;<br />
(e.g my project is restaurant billing ) so how can i store multiple items with single bill no&#8230;. it generates multiple rows with every new item entry in database for one bill&#8230; ..<br />
please help me sir&#8230;..<br />
thank you&#8230;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jim</title>
		<link>http://blog.sqlauthority.com/2012/08/29/sql-server-three-methods-to-insert-multiple-rows-into-single-table-sql-in-sixty-seconds-024-video/#comment-394096</link>
		<dc:creator><![CDATA[jim]]></dc:creator>
		<pubDate>Sun, 16 Dec 2012 02:27:49 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=20481#comment-394096</guid>
		<description><![CDATA[hi, I have sql question: how can I SSIS export into one text file from several different tables: have different columns , each table has one knid of record type. 
Data in exported text file something like:
Head record: 1,6701,T1234,101(total length20)(from table1)
Record type 2: 2,10000000087,12/02/2012,.......(total length 300)(from table2)
Record type 10: 10, 64538, 03/12/2012,1(total length 15)(from table 3)
Record type 28: 28, 1000000087,,2(total length 65)(from table4)

I tried UNION ALL and it works, but record total length like record type 1 is not 20 , instead of 300 as table2.

Thanks.]]></description>
		<content:encoded><![CDATA[<p>hi, I have sql question: how can I SSIS export into one text file from several different tables: have different columns , each table has one knid of record type.<br />
Data in exported text file something like:<br />
Head record: 1,6701,T1234,101(total length20)(from table1)<br />
Record type 2: 2,10000000087,12/02/2012,&#8230;&#8230;.(total length 300)(from table2)<br />
Record type 10: 10, 64538, 03/12/2012,1(total length 15)(from table 3)<br />
Record type 28: 28, 1000000087,,2(total length 65)(from table4)</p>
<p>I tried UNION ALL and it works, but record total length like record type 1 is not 20 , instead of 300 as table2.</p>
<p>Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sean</title>
		<link>http://blog.sqlauthority.com/2012/08/29/sql-server-three-methods-to-insert-multiple-rows-into-single-table-sql-in-sixty-seconds-024-video/#comment-387805</link>
		<dc:creator><![CDATA[Sean]]></dc:creator>
		<pubDate>Thu, 06 Dec 2012 03:47:52 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=20481#comment-387805</guid>
		<description><![CDATA[Interesting, but there&#039;s another limit many of us would hit first.

If you&#039;re executing from inside a .Net program then you&#039;ve a limit of 2100 parameters per command.  This toy example with 2 columns is okay, but in the real world you would probably blow up before you got to 1000 rows.]]></description>
		<content:encoded><![CDATA[<p>Interesting, but there&#8217;s another limit many of us would hit first.</p>
<p>If you&#8217;re executing from inside a .Net program then you&#8217;ve a limit of 2100 parameters per command.  This toy example with 2 columns is okay, but in the real world you would probably blow up before you got to 1000 rows.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sean</title>
		<link>http://blog.sqlauthority.com/2012/08/29/sql-server-three-methods-to-insert-multiple-rows-into-single-table-sql-in-sixty-seconds-024-video/#comment-387804</link>
		<dc:creator><![CDATA[Sean]]></dc:creator>
		<pubDate>Thu, 06 Dec 2012 03:42:52 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=20481#comment-387804</guid>
		<description><![CDATA[Your biggest risk if you&#039;re just looping over a list to create the insert is that you may exceed the 2100-parameter limit in .Net SqlCommand creation.

TVP works fine for to avoid this.  But Bulk Insert is slightly faster in my tests.  Both are much faster than comma-separated values.]]></description>
		<content:encoded><![CDATA[<p>Your biggest risk if you&#8217;re just looping over a list to create the insert is that you may exceed the 2100-parameter limit in .Net SqlCommand creation.</p>
<p>TVP works fine for to avoid this.  But Bulk Insert is slightly faster in my tests.  Both are much faster than comma-separated values.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paul Oster</title>
		<link>http://blog.sqlauthority.com/2012/08/29/sql-server-three-methods-to-insert-multiple-rows-into-single-table-sql-in-sixty-seconds-024-video/#comment-384835</link>
		<dc:creator><![CDATA[Paul Oster]]></dc:creator>
		<pubDate>Sat, 01 Dec 2012 14:12:26 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=20481#comment-384835</guid>
		<description><![CDATA[-- Or you can Simply populate multiple values 
-- from the results of a select statement
-- as long as the datatypes match

INSERT INTO Table2
           ([col1]
           ,[col2]
           ,[col3])
SELECT col1, col2, col3 FROM table1

--&#124;&#124;&#124;&#124;&#124;&#124;&#124;&#124;&#124;&#124;&#124;&#124;&#124;&#124;&#124;&#124;&#124;&#124;&#124;&#124;&#124;&#124;&#124;&#124;&#124;&#124;&#124;&#124;&#124;&#124;&#124;&#124;&#124;&#124;&#124;&#124;&#124;&#124;&#124;&#124;&#124;&#124;&#124;&#124;&#124;&#124;&#124;&#124;&#124;&#124;&#124;&#124;&#124;&#124;&#124;&#124;&#124;&#124;&#124;&#124;&#124;&#124;
/*    FULL QUERY BELOW    */
--&#124;&#124;&#124;&#124;&#124;&#124;&#124;&#124;&#124;&#124;&#124;&#124;&#124;&#124;&#124;&#124;&#124;&#124;&#124;&#124;&#124;&#124;&#124;&#124;&#124;&#124;&#124;&#124;&#124;&#124;&#124;&#124;&#124;&#124;&#124;&#124;&#124;&#124;&#124;&#124;&#124;&#124;&#124;&#124;&#124;&#124;&#124;&#124;&#124;&#124;&#124;&#124;&#124;&#124;&#124;&#124;&#124;&#124;&#124;&#124;&#124;&#124;

-- Create two tables
SET ANSI_PADDING ON
GO

CREATE TABLE [dbo].[Table1](
	[col1] [int] NULL,
	[col2] [varchar](50) NULL,
	[col3] [varchar](50) NULL
) ON [PRIMARY]

GO

CREATE TABLE [dbo].[Table2](
	[col1] [int] NULL,
	[col2] [varchar](50) NULL,
	[col3] [varchar](50) NULL
) ON [PRIMARY]

GO

-- Populate the first table

INSERT INTO Table2
           ([col1]
           ,[col2]
           ,[col3])

select 1, &#039;hi1&#039;, &#039;Dave1&#039;
UNION ALL
select 2, &#039;hi2&#039;, &#039;Dave2&#039;

GO

-- Populate Table 2 with the values of Table1
INSERT INTO Table2
           ([col1]
           ,[col2]
           ,[col3])
SELECT col1, col2, col3 FROM table1

GO
-- Check the values of Table2
SELECT
col1
, col2
, col3
FROM Table2

GO

(or any other valid SQL Select statement where the datatypes from the source match the datatypes of the destination.)]]></description>
		<content:encoded><![CDATA[<p>&#8211; Or you can Simply populate multiple values<br />
&#8211; from the results of a select statement<br />
&#8211; as long as the datatypes match</p>
<p>INSERT INTO Table2<br />
           ([col1]<br />
           ,[col2]<br />
           ,[col3])<br />
SELECT col1, col2, col3 FROM table1</p>
<p>&#8211;||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||<br />
/*    FULL QUERY BELOW    */<br />
&#8211;||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||</p>
<p>&#8211; Create two tables<br />
SET ANSI_PADDING ON<br />
GO</p>
<p>CREATE TABLE [dbo].[Table1](<br />
	[col1] [int] NULL,<br />
	[col2] [varchar](50) NULL,<br />
	[col3] [varchar](50) NULL<br />
) ON [PRIMARY]</p>
<p>GO</p>
<p>CREATE TABLE [dbo].[Table2](<br />
	[col1] [int] NULL,<br />
	[col2] [varchar](50) NULL,<br />
	[col3] [varchar](50) NULL<br />
) ON [PRIMARY]</p>
<p>GO</p>
<p>&#8211; Populate the first table</p>
<p>INSERT INTO Table2<br />
           ([col1]<br />
           ,[col2]<br />
           ,[col3])</p>
<p>select 1, &#8216;hi1&#8242;, &#8216;Dave1&#8242;<br />
UNION ALL<br />
select 2, &#8216;hi2&#8242;, &#8216;Dave2&#8242;</p>
<p>GO</p>
<p>&#8211; Populate Table 2 with the values of Table1<br />
INSERT INTO Table2<br />
           ([col1]<br />
           ,[col2]<br />
           ,[col3])<br />
SELECT col1, col2, col3 FROM table1</p>
<p>GO<br />
&#8211; Check the values of Table2<br />
SELECT<br />
col1<br />
, col2<br />
, col3<br />
FROM Table2</p>
<p>GO</p>
<p>(or any other valid SQL Select statement where the datatypes from the source match the datatypes of the destination.)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: emdoubleuj</title>
		<link>http://blog.sqlauthority.com/2012/08/29/sql-server-three-methods-to-insert-multiple-rows-into-single-table-sql-in-sixty-seconds-024-video/#comment-341587</link>
		<dc:creator><![CDATA[emdoubleuj]]></dc:creator>
		<pubDate>Thu, 06 Sep 2012 19:54:02 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=20481#comment-341587</guid>
		<description><![CDATA[Not sure if this is the correct forum or subject to make a post, but I&#039;ll give it a shot...
I have created a view in a very complex MS-SQL db that runs an application. 

The ultimate goal is to display the data and have a few fields where users enter a few items in Sharepoint... (Example)

CustomerName    assessmentdate     Invoicechecked    Invoicesent
bob jones              09/01/2012

so above data from db is displayed (custname, assessdate) but in sharepoint users would answer yes/no etc for invoicechecked/invoicesent

I created a view, mainly because quite a few tables had to be joined etc to pull data and I obviosuly don&#039;t know what I am doing...

The data in the view looks from today back 15 days. (keep that in mind) That means items will fall off the view and items in view will change. I want the items in the view to copy over to table on a regular basis.  Because the view is always looking back 15 days there will be items in the view that will be duplicates or will have changed...don&#039;t know how to deal with that either

At the same time the Table has fields that will be null from beginning because they will be populated via Sharepoint.

any ideas or help would be much appreciated!]]></description>
		<content:encoded><![CDATA[<p>Not sure if this is the correct forum or subject to make a post, but I&#8217;ll give it a shot&#8230;<br />
I have created a view in a very complex MS-SQL db that runs an application. </p>
<p>The ultimate goal is to display the data and have a few fields where users enter a few items in Sharepoint&#8230; (Example)</p>
<p>CustomerName    assessmentdate     Invoicechecked    Invoicesent<br />
bob jones              09/01/2012</p>
<p>so above data from db is displayed (custname, assessdate) but in sharepoint users would answer yes/no etc for invoicechecked/invoicesent</p>
<p>I created a view, mainly because quite a few tables had to be joined etc to pull data and I obviosuly don&#8217;t know what I am doing&#8230;</p>
<p>The data in the view looks from today back 15 days. (keep that in mind) That means items will fall off the view and items in view will change. I want the items in the view to copy over to table on a regular basis.  Because the view is always looking back 15 days there will be items in the view that will be duplicates or will have changed&#8230;don&#8217;t know how to deal with that either</p>
<p>At the same time the Table has fields that will be null from beginning because they will be populated via Sharepoint.</p>
<p>any ideas or help would be much appreciated!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mayura</title>
		<link>http://blog.sqlauthority.com/2012/08/29/sql-server-three-methods-to-insert-multiple-rows-into-single-table-sql-in-sixty-seconds-024-video/#comment-339889</link>
		<dc:creator><![CDATA[Mayura]]></dc:creator>
		<pubDate>Sat, 01 Sep 2012 09:41:25 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=20481#comment-339889</guid>
		<description><![CDATA[I don&#039;t wanted to add any column to the table neighter alter my indexes.
I wanted to know will SQL server maintains any field thru that we can get the records.]]></description>
		<content:encoded><![CDATA[<p>I don&#8217;t wanted to add any column to the table neighter alter my indexes.<br />
I wanted to know will SQL server maintains any field thru that we can get the records.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alan Singfield</title>
		<link>http://blog.sqlauthority.com/2012/08/29/sql-server-three-methods-to-insert-multiple-rows-into-single-table-sql-in-sixty-seconds-024-video/#comment-339483</link>
		<dc:creator><![CDATA[Alan Singfield]]></dc:creator>
		<pubDate>Fri, 31 Aug 2012 07:24:31 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=20481#comment-339483</guid>
		<description><![CDATA[Mayura - just add a created_datetime column to the table with a default of GETUTCDATE(). Put an index on that, then you can do:

SELECT TOP 10 * FROM yourtable ORDER BY created_datetime DESC]]></description>
		<content:encoded><![CDATA[<p>Mayura &#8211; just add a created_datetime column to the table with a default of GETUTCDATE(). Put an index on that, then you can do:</p>
<p>SELECT TOP 10 * FROM yourtable ORDER BY created_datetime DESC</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mayura</title>
		<link>http://blog.sqlauthority.com/2012/08/29/sql-server-three-methods-to-insert-multiple-rows-into-single-table-sql-in-sixty-seconds-024-video/#comment-339465</link>
		<dc:creator><![CDATA[Mayura]]></dc:creator>
		<pubDate>Fri, 31 Aug 2012 05:47:16 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=20481#comment-339465</guid>
		<description><![CDATA[Alan, thank for the reply. OUTPUT clause will not serve my requirement, if inserts had happened from different sessions.  My requirement is to get last 10 inserted records from all tables which have millions of records in each table.

I am able to get it using IDENT_CURRENT(‘tablename’) for the tables which has IDENTITY COLUMN.  Looking to get n reocrds from tables which don’t have IDENTITY COLUMN.  I am just wondering is there any un-documented View, SP, Table etc. which gives me the last inserted n records.]]></description>
		<content:encoded><![CDATA[<p>Alan, thank for the reply. OUTPUT clause will not serve my requirement, if inserts had happened from different sessions.  My requirement is to get last 10 inserted records from all tables which have millions of records in each table.</p>
<p>I am able to get it using IDENT_CURRENT(‘tablename’) for the tables which has IDENTITY COLUMN.  Looking to get n reocrds from tables which don’t have IDENTITY COLUMN.  I am just wondering is there any un-documented View, SP, Table etc. which gives me the last inserted n records.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alan Singfield</title>
		<link>http://blog.sqlauthority.com/2012/08/29/sql-server-three-methods-to-insert-multiple-rows-into-single-table-sql-in-sixty-seconds-024-video/#comment-339354</link>
		<dc:creator><![CDATA[Alan Singfield]]></dc:creator>
		<pubDate>Thu, 30 Aug 2012 20:08:23 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=20481#comment-339354</guid>
		<description><![CDATA[Mayura - you can use the OUTPUT clause to return the records that were just inserted.]]></description>
		<content:encoded><![CDATA[<p>Mayura &#8211; you can use the OUTPUT clause to return the records that were just inserted.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mayura</title>
		<link>http://blog.sqlauthority.com/2012/08/29/sql-server-three-methods-to-insert-multiple-rows-into-single-table-sql-in-sixty-seconds-024-video/#comment-339068</link>
		<dc:creator><![CDATA[Mayura]]></dc:creator>
		<pubDate>Thu, 30 Aug 2012 05:08:45 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=20481#comment-339068</guid>
		<description><![CDATA[Hi Pinal Dave,
Is there any menthod which gives me the last inserted n records of the table which does not have IDENTITY COLUMN?]]></description>
		<content:encoded><![CDATA[<p>Hi Pinal Dave,<br />
Is there any menthod which gives me the last inserted n records of the table which does not have IDENTITY COLUMN?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alan Singfield</title>
		<link>http://blog.sqlauthority.com/2012/08/29/sql-server-three-methods-to-insert-multiple-rows-into-single-table-sql-in-sixty-seconds-024-video/#comment-338791</link>
		<dc:creator><![CDATA[Alan Singfield]]></dc:creator>
		<pubDate>Wed, 29 Aug 2012 13:20:31 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=20481#comment-338791</guid>
		<description><![CDATA[In SQL 2008 you can use up to 1000 comma-separated clauses on the VALUES section
e.g.
INSERT INTO #SQLAuthority (ID, Value)
VALUES (1, &#039;First&#039;),
VALUES (2, &#039;Second&#039;),
VALUES (3, &#039;Third&#039;);

This is useful for ad-hoc SQL, but I agree with the earlier posters that normally, table-valued parameters are the way to go for inserting multiple records. If you are stuck with SQL2005 you can use XML.]]></description>
		<content:encoded><![CDATA[<p>In SQL 2008 you can use up to 1000 comma-separated clauses on the VALUES section<br />
e.g.<br />
INSERT INTO #SQLAuthority (ID, Value)<br />
VALUES (1, &#8216;First&#8217;),<br />
VALUES (2, &#8216;Second&#8217;),<br />
VALUES (3, &#8216;Third&#8217;);</p>
<p>This is useful for ad-hoc SQL, but I agree with the earlier posters that normally, table-valued parameters are the way to go for inserting multiple records. If you are stuck with SQL2005 you can use XML.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Karthik K</title>
		<link>http://blog.sqlauthority.com/2012/08/29/sql-server-three-methods-to-insert-multiple-rows-into-single-table-sql-in-sixty-seconds-024-video/#comment-338732</link>
		<dc:creator><![CDATA[Karthik K]]></dc:creator>
		<pubDate>Wed, 29 Aug 2012 10:54:36 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=20481#comment-338732</guid>
		<description><![CDATA[How can I submit my ideas for &#039;SQL in Sixty Seconds&#039;?]]></description>
		<content:encoded><![CDATA[<p>How can I submit my ideas for &#8216;SQL in Sixty Seconds&#8217;?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daniel Kurz</title>
		<link>http://blog.sqlauthority.com/2012/08/29/sql-server-three-methods-to-insert-multiple-rows-into-single-table-sql-in-sixty-seconds-024-video/#comment-338656</link>
		<dc:creator><![CDATA[Daniel Kurz]]></dc:creator>
		<pubDate>Wed, 29 Aug 2012 07:03:02 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=20481#comment-338656</guid>
		<description><![CDATA[I just checked the execution plans for each query. Performance wise all of the queries should cost approx. the same. Only difference i saw is that the first query is a direct insert. the other two use &#039;Constant Scan&#039;,&#039;Top&#039;,&#039;Compute Scalar&#039; (which all cost 0%) in the execution plan and then the values are inserted into the table. Also value wise (CPU time etc.) the second and the third query seem to be the same.]]></description>
		<content:encoded><![CDATA[<p>I just checked the execution plans for each query. Performance wise all of the queries should cost approx. the same. Only difference i saw is that the first query is a direct insert. the other two use &#8216;Constant Scan&#8217;,'Top&#8217;,'Compute Scalar&#8217; (which all cost 0%) in the execution plan and then the values are inserted into the table. Also value wise (CPU time etc.) the second and the third query seem to be the same.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jens Samson</title>
		<link>http://blog.sqlauthority.com/2012/08/29/sql-server-three-methods-to-insert-multiple-rows-into-single-table-sql-in-sixty-seconds-024-video/#comment-338652</link>
		<dc:creator><![CDATA[Jens Samson]]></dc:creator>
		<pubDate>Wed, 29 Aug 2012 06:48:44 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=20481#comment-338652</guid>
		<description><![CDATA[What about Table Valued Paremeters ?
www.sqlservercentral.com/articles/SQL+Server+2008/67550/]]></description>
		<content:encoded><![CDATA[<p>What about Table Valued Paremeters ?<br />
<a href="http://www.sqlservercentral.com/articles/SQL+Server+2008/67550/" rel="nofollow">http://www.sqlservercentral.com/articles/SQL+Server+2008/67550/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Purna Magum</title>
		<link>http://blog.sqlauthority.com/2012/08/29/sql-server-three-methods-to-insert-multiple-rows-into-single-table-sql-in-sixty-seconds-024-video/#comment-338651</link>
		<dc:creator><![CDATA[Purna Magum]]></dc:creator>
		<pubDate>Wed, 29 Aug 2012 06:42:53 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=20481#comment-338651</guid>
		<description><![CDATA[Using of BULK INSERT 

STEP 1: Create a text file the name STUDENTS_LIST.txt and add the bellow data

1,RAJIV,M.S
2,VINAY KUMAR,B.A
3,HANU,M.B.A
4,ARUN,M.Sc

STEP 2: Create a table using bellow statment

CREATE TABLE #STUDENT(ID INT, [NAME] NVARCHAR(50), EDUCATION NVARCHAR(20))

STEP 3: Now use the Bulk Insert Statement

BULK INSERT #STUDENT
FROM &#039;D:\STUDENTS_LIST.txt&#039;
WITH ( FIELDTERMINATOR = &#039;,&#039;, ROWTERMINATOR = &#039;\n&#039; )

STEP 4: Check the table using bellow query

SELECT * FROM #STUDENT

DROP TABLE #STUDENT

and one more thing is using user defined table types in Sql Server 2008 

Check example @ 
http://mpurna.blogspot.in/2012/06/using-of-user-defined-table-types-in.html]]></description>
		<content:encoded><![CDATA[<p>Using of BULK INSERT </p>
<p>STEP 1: Create a text file the name STUDENTS_LIST.txt and add the bellow data</p>
<p>1,RAJIV,M.S<br />
2,VINAY KUMAR,B.A<br />
3,HANU,M.B.A<br />
4,ARUN,M.Sc</p>
<p>STEP 2: Create a table using bellow statment</p>
<p>CREATE TABLE #STUDENT(ID INT, [NAME] NVARCHAR(50), EDUCATION NVARCHAR(20))</p>
<p>STEP 3: Now use the Bulk Insert Statement</p>
<p>BULK INSERT #STUDENT<br />
FROM &#8216;D:\STUDENTS_LIST.txt&#8217;<br />
WITH ( FIELDTERMINATOR = &#8216;,&#8217;, ROWTERMINATOR = &#8216;\n&#8217; )</p>
<p>STEP 4: Check the table using bellow query</p>
<p>SELECT * FROM #STUDENT</p>
<p>DROP TABLE #STUDENT</p>
<p>and one more thing is using user defined table types in Sql Server 2008 </p>
<p>Check example @<br />
<a href="http://mpurna.blogspot.in/2012/06/using-of-user-defined-table-types-in.html" rel="nofollow">http://mpurna.blogspot.in/2012/06/using-of-user-defined-table-types-in.html</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: YUVRAJ ®imal (@princerimal)</title>
		<link>http://blog.sqlauthority.com/2012/08/29/sql-server-three-methods-to-insert-multiple-rows-into-single-table-sql-in-sixty-seconds-024-video/#comment-338633</link>
		<dc:creator><![CDATA[YUVRAJ ®imal (@princerimal)]]></dc:creator>
		<pubDate>Wed, 29 Aug 2012 05:44:48 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=20481#comment-338633</guid>
		<description><![CDATA[I don&#039;t think, we need to use this query where performance matters. Sometimes easiness matters more than performance.]]></description>
		<content:encoded><![CDATA[<p>I don&#8217;t think, we need to use this query where performance matters. Sometimes easiness matters more than performance.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nagen</title>
		<link>http://blog.sqlauthority.com/2012/08/29/sql-server-three-methods-to-insert-multiple-rows-into-single-table-sql-in-sixty-seconds-024-video/#comment-338597</link>
		<dc:creator><![CDATA[Nagen]]></dc:creator>
		<pubDate>Wed, 29 Aug 2012 03:34:21 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=20481#comment-338597</guid>
		<description><![CDATA[Performance side, which one is the best choice... ?]]></description>
		<content:encoded><![CDATA[<p>Performance side, which one is the best choice&#8230; ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: george</title>
		<link>http://blog.sqlauthority.com/2012/08/29/sql-server-three-methods-to-insert-multiple-rows-into-single-table-sql-in-sixty-seconds-024-video/#comment-338565</link>
		<dc:creator><![CDATA[george]]></dc:creator>
		<pubDate>Wed, 29 Aug 2012 01:34:34 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=20481#comment-338565</guid>
		<description><![CDATA[any difference in speed?]]></description>
		<content:encoded><![CDATA[<p>any difference in speed?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
