<?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: SQL SERVER 2005- How to call nested stored procedure and save the output in Temporary Table</title>
	<atom:link href="http://blog.joggee.com/index.php?feed=rss2&#038;p=24" rel="self" type="application/rss+xml" />
	<link>http://blog.joggee.com/?p=24</link>
	<description>ASP.NET,VB.NET,C#.NET,SQL SERVER,DATABASE,XML,WEBSERVICES,JAVA,SOFTWARE,PROGRAMMING,MANAGEMENT</description>
	<lastBuildDate>Wed, 03 Feb 2010 02:47:46 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: mansoor</title>
		<link>http://blog.joggee.com/?p=24&#038;cpage=1#comment-668</link>
		<dc:creator>mansoor</dc:creator>
		<pubDate>Sat, 14 Nov 2009 19:02:07 +0000</pubDate>
		<guid isPermaLink="false">http://codeproject.wordpress.com/2007/08/31/sql-server-2005-nested-storeds-result-stored-in-temporary-table/#comment-668</guid>
		<description>If the 1st stored procedure is a union of 4 select statement. 
Can i create an aggragate query out of the 1st-procedure without createing a temp table?</description>
		<content:encoded><![CDATA[<p>If the 1st stored procedure is a union of 4 select statement.<br />
Can i create an aggragate query out of the 1st-procedure without createing a temp table?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: bhushan</title>
		<link>http://blog.joggee.com/?p=24&#038;cpage=1#comment-664</link>
		<dc:creator>bhushan</dc:creator>
		<pubDate>Tue, 10 Nov 2009 11:53:30 +0000</pubDate>
		<guid isPermaLink="false">http://codeproject.wordpress.com/2007/08/31/sql-server-2005-nested-storeds-result-stored-in-temporary-table/#comment-664</guid>
		<description>Hi,
I did same but when executing procedure sp_ FirstProcedure within sp_SecondProcedure, it is returning results but it is not inserting value in the temp table #tempCityEmp. Is there any settings need to be done? Please let me know ASAP.

Thanks,
Bhushan</description>
		<content:encoded><![CDATA[<p>Hi,<br />
I did same but when executing procedure sp_ FirstProcedure within sp_SecondProcedure, it is returning results but it is not inserting value in the temp table #tempCityEmp. Is there any settings need to be done? Please let me know ASAP.</p>
<p>Thanks,<br />
Bhushan</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Neil</title>
		<link>http://blog.joggee.com/?p=24&#038;cpage=1#comment-617</link>
		<dc:creator>Neil</dc:creator>
		<pubDate>Tue, 01 Sep 2009 11:48:18 +0000</pubDate>
		<guid isPermaLink="false">http://codeproject.wordpress.com/2007/08/31/sql-server-2005-nested-storeds-result-stored-in-temporary-table/#comment-617</guid>
		<description>Thanks - just what I was after!</description>
		<content:encoded><![CDATA[<p>Thanks &#8211; just what I was after!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mark</title>
		<link>http://blog.joggee.com/?p=24&#038;cpage=1#comment-584</link>
		<dc:creator>mark</dc:creator>
		<pubDate>Tue, 14 Apr 2009 23:32:54 +0000</pubDate>
		<guid isPermaLink="false">http://codeproject.wordpress.com/2007/08/31/sql-server-2005-nested-storeds-result-stored-in-temporary-table/#comment-584</guid>
		<description>I want to say - thank you for this!</description>
		<content:encoded><![CDATA[<p>I want to say &#8211; thank you for this!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: codeproject</title>
		<link>http://blog.joggee.com/?p=24&#038;cpage=1#comment-6</link>
		<dc:creator>codeproject</dc:creator>
		<pubDate>Thu, 11 Oct 2007 21:14:53 +0000</pubDate>
		<guid isPermaLink="false">http://codeproject.wordpress.com/2007/08/31/sql-server-2005-nested-storeds-result-stored-in-temporary-table/#comment-6</guid>
		<description>Yes, you can create and insert values in temp table but using select query not stored procedure.

i.e.

Select  * into #temp from Table

You can also insert the values into temp table from Stored Procedure but Temp table should created before.

i.e.
Insert into #tempCityEmp Exec sp_First

Hope this is your answer.

If not please eloborate in detail what exactly you are asking and what is the benefit to do this in one line and why ?

Thank you very much for your comments.

regards,

Rana</description>
		<content:encoded><![CDATA[<p>Yes, you can create and insert values in temp table but using select query not stored procedure.</p>
<p>i.e.</p>
<p>Select  * into #temp from Table</p>
<p>You can also insert the values into temp table from Stored Procedure but Temp table should created before.</p>
<p>i.e.<br />
Insert into #tempCityEmp Exec sp_First</p>
<p>Hope this is your answer.</p>
<p>If not please eloborate in detail what exactly you are asking and what is the benefit to do this in one line and why ?</p>
<p>Thank you very much for your comments.</p>
<p>regards,</p>
<p>Rana</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: stan</title>
		<link>http://blog.joggee.com/?p=24&#038;cpage=1#comment-5</link>
		<dc:creator>stan</dc:creator>
		<pubDate>Wed, 10 Oct 2007 19:51:18 +0000</pubDate>
		<guid isPermaLink="false">http://codeproject.wordpress.com/2007/08/31/sql-server-2005-nested-storeds-result-stored-in-temporary-table/#comment-5</guid>
		<description>isnt there supposed to be a way of creating and inserting into a temp table in one step?</description>
		<content:encoded><![CDATA[<p>isnt there supposed to be a way of creating and inserting into a temp table in one step?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
