<?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/"
		>
<channel>
	<title>Comments on: Insert Stored Procedure Results Into Table</title>
	<atom:link href="http://sqlserverplanet.com/sql/insert-stored-procedure-results-into-table/feed" rel="self" type="application/rss+xml" />
	<link>http://sqlserverplanet.com/sql/insert-stored-procedure-results-into-table</link>
	<description>Tips and Articles on SQL Server</description>
	<lastBuildDate>Mon, 06 Feb 2012 13:36:24 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Derek Dieter</title>
		<link>http://sqlserverplanet.com/sql/insert-stored-procedure-results-into-table/comment-page-1#comment-1075</link>
		<dc:creator>Derek Dieter</dc:creator>
		<pubDate>Mon, 23 Jan 2012 17:05:36 +0000</pubDate>
		<guid isPermaLink="false">http://sqlserverplanet.com/?p=258#comment-1075</guid>
		<description>Hi Joy,

You can use this.

http://sqlserverplanet.com/sql-server-2008/using-the-merge-statements-output-clause-to-match-inserted-identity-fields-with-source-table-fields

Derek</description>
		<content:encoded><![CDATA[<p>Hi Joy,</p>
<p>You can use this.</p>
<p><a href="http://sqlserverplanet.com/sql-server-2008/using-the-merge-statements-output-clause-to-match-inserted-identity-fields-with-source-table-fields" rel="nofollow">http://sqlserverplanet.com/sql-server-2008/using-the-merge-statements-output-clause-to-match-inserted-identity-fields-with-source-table-fields</a></p>
<p>Derek</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: joy</title>
		<link>http://sqlserverplanet.com/sql/insert-stored-procedure-results-into-table/comment-page-1#comment-1072</link>
		<dc:creator>joy</dc:creator>
		<pubDate>Sat, 21 Jan 2012 20:58:10 +0000</pubDate>
		<guid isPermaLink="false">http://sqlserverplanet.com/?p=258#comment-1072</guid>
		<description>how make a procedure to insert the values  where one column is the foregin key of the primary key in a single table
like

create table test1(id int identity constraint mno1 primary key ,name varchar(100), sno int constraint constraint_test1_id_fk references test1(id))</description>
		<content:encoded><![CDATA[<p>how make a procedure to insert the values  where one column is the foregin key of the primary key in a single table<br />
like</p>
<p>create table test1(id int identity constraint mno1 primary key ,name varchar(100), sno int constraint constraint_test1_id_fk references test1(id))</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: farid</title>
		<link>http://sqlserverplanet.com/sql/insert-stored-procedure-results-into-table/comment-page-1#comment-1054</link>
		<dc:creator>farid</dc:creator>
		<pubDate>Wed, 11 Jan 2012 16:41:43 +0000</pubDate>
		<guid isPermaLink="false">http://sqlserverplanet.com/?p=258#comment-1054</guid>
		<description>How produce present store procedure from tables?</description>
		<content:encoded><![CDATA[<p>How produce present store procedure from tables?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: rmotiani</title>
		<link>http://sqlserverplanet.com/sql/insert-stored-procedure-results-into-table/comment-page-1#comment-982</link>
		<dc:creator>rmotiani</dc:creator>
		<pubDate>Tue, 22 Nov 2011 16:09:44 +0000</pubDate>
		<guid isPermaLink="false">http://sqlserverplanet.com/?p=258#comment-982</guid>
		<description>How to pass a table variable in OpenRowSet?</description>
		<content:encoded><![CDATA[<p>How to pass a table variable in OpenRowSet?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Derek Dieter</title>
		<link>http://sqlserverplanet.com/sql/insert-stored-procedure-results-into-table/comment-page-1#comment-865</link>
		<dc:creator>Derek Dieter</dc:creator>
		<pubDate>Tue, 20 Sep 2011 05:01:30 +0000</pubDate>
		<guid isPermaLink="false">http://sqlserverplanet.com/?p=258#comment-865</guid>
		<description>Hi Vince,

The problem I&#039;ve always faced is not knowing what the column names or data types is of the procedure you are executing in advance.  These are needed in order to create the temp table definition.  The ultimate solution is to create the temp table dynamically based on the result set of the procedure at execution time.  That&#039;s the scenario this article addresses.  Does that make sense or am I missing something also?</description>
		<content:encoded><![CDATA[<p>Hi Vince,</p>
<p>The problem I&#8217;ve always faced is not knowing what the column names or data types is of the procedure you are executing in advance.  These are needed in order to create the temp table definition.  The ultimate solution is to create the temp table dynamically based on the result set of the procedure at execution time.  That&#8217;s the scenario this article addresses.  Does that make sense or am I missing something also?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

