<?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: Table-valued parameters in SQL 2005	</title>
	<atom:link href="https://lobsterpot.com.au/blog/2011/10/20/table-valued-parameters-in-sql-2005/feed/" rel="self" type="application/rss+xml" />
	<link>https://lobsterpot.com.au/blog/2011/10/20/table-valued-parameters-in-sql-2005/</link>
	<description></description>
	<lastBuildDate>Tue, 11 Sep 2018 10:33:29 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>
	<item>
		<title>
		By: Triggers &#8211; good or bad? - LobsterPot Blogs		</title>
		<link>https://lobsterpot.com.au/blog/2011/10/20/table-valued-parameters-in-sql-2005/#comment-2021</link>

		<dc:creator><![CDATA[Triggers &#8211; good or bad? - LobsterPot Blogs]]></dc:creator>
		<pubDate>Tue, 11 Sep 2018 10:33:29 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.lobsterpot.com.au/?p=3032#comment-2021</guid>

					<description><![CDATA[[&#8230;] time readers might remember my posts from years ago about implementing Table-Valued Parameters in SQL 2005, or about TVPs in SSIS, and think that I have some interesting views about triggers. I&#8217;m not [&#8230;]]]></description>
			<content:encoded><![CDATA[<p>[&#8230;] time readers might remember my posts from years ago about implementing Table-Valued Parameters in SQL 2005, or about TVPs in SSIS, and think that I have some interesting views about triggers. I&#8217;m not [&#8230;]</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Mr. T		</title>
		<link>https://lobsterpot.com.au/blog/2011/10/20/table-valued-parameters-in-sql-2005/#comment-2020</link>

		<dc:creator><![CDATA[Mr. T]]></dc:creator>
		<pubDate>Wed, 14 Jun 2017 19:16:54 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.lobsterpot.com.au/?p=3032#comment-2020</guid>

					<description><![CDATA[Very nice article!
I am actually passing a DataTable from my .net application to SQL Server using table type. Now I need to make that work in 2005. Not sure how to incorporate your idea into this scenario.]]></description>
			<content:encoded><![CDATA[<p>Very nice article!<br />
I am actually passing a DataTable from my .net application to SQL Server using table type. Now I need to make that work in 2005. Not sure how to incorporate your idea into this scenario.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Bill		</title>
		<link>https://lobsterpot.com.au/blog/2011/10/20/table-valued-parameters-in-sql-2005/#comment-2019</link>

		<dc:creator><![CDATA[Bill]]></dc:creator>
		<pubDate>Mon, 21 Nov 2016 05:23:47 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.lobsterpot.com.au/?p=3032#comment-2019</guid>

					<description><![CDATA[Nice. &#160;I was going to do something similar, I was going to use a view to call a web service api to update the remote data. &#160;This way lower mortals can use their table skills and access programs to transparently update cloud data.
Never thought of using it as you described here. &#160;That&#039;s a good idea.
As for worrying about whether the &#034;view&#034; is interpreted as a proc by a human, then just prefix the view with vsp_, for example vsp_DoIt.]]></description>
			<content:encoded><![CDATA[<p>Nice. &nbsp;I was going to do something similar, I was going to use a view to call a web service api to update the remote data. &nbsp;This way lower mortals can use their table skills and access programs to transparently update cloud data.<br />
Never thought of using it as you described here. &nbsp;That&#8217;s a good idea.<br />
As for worrying about whether the &quot;view&quot; is interpreted as a proc by a human, then just prefix the view with vsp_, for example vsp_DoIt.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Dave Green (Sydney ex- RBA)		</title>
		<link>https://lobsterpot.com.au/blog/2011/10/20/table-valued-parameters-in-sql-2005/#comment-2018</link>

		<dc:creator><![CDATA[Dave Green (Sydney ex- RBA)]]></dc:creator>
		<pubDate>Fri, 18 Apr 2014 02:23:21 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.lobsterpot.com.au/?p=3032#comment-2018</guid>

					<description><![CDATA[Not 10 years too late at all. Some large Australian banks are *still* deploying enterprise-wide applications onto SQL Server 2005.
I know, I know...
Anyhoo it&#039;s a nice idea to use the trigger, but I probably stick with passing my varchar(max) csv string as a parameter and splitting it inside the proc via a table function.]]></description>
			<content:encoded><![CDATA[<p>Not 10 years too late at all. Some large Australian banks are *still* deploying enterprise-wide applications onto SQL Server 2005.<br />
I know, I know&#8230;<br />
Anyhoo it&#8217;s a nice idea to use the trigger, but I probably stick with passing my varchar(max) csv string as a parameter and splitting it inside the proc via a table function.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Brad Schulz		</title>
		<link>https://lobsterpot.com.au/blog/2011/10/20/table-valued-parameters-in-sql-2005/#comment-2017</link>

		<dc:creator><![CDATA[Brad Schulz]]></dc:creator>
		<pubDate>Mon, 14 Nov 2011 09:51:57 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.lobsterpot.com.au/?p=3032#comment-2017</guid>

					<description><![CDATA[Just caught up on some of my blog reading and finally read this entry.
Always love your out-of-the-box thinking. &#160;Very nice.
--Brad]]></description>
			<content:encoded><![CDATA[<p>Just caught up on some of my blog reading and finally read this entry.<br />
Always love your out-of-the-box thinking. &nbsp;Very nice.<br />
&#8211;Brad</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Alexander Kuznetsov		</title>
		<link>https://lobsterpot.com.au/blog/2011/10/20/table-valued-parameters-in-sql-2005/#comment-2016</link>

		<dc:creator><![CDATA[Alexander Kuznetsov]]></dc:creator>
		<pubDate>Fri, 21 Oct 2011 18:34:46 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.lobsterpot.com.au/?p=3032#comment-2016</guid>

					<description><![CDATA[Very nice. Very very nice.
Rob,
Have you benchmarked it against more traditional approaches, like Erland does in his articles? 
When I had to send lots of numbers, like 50K or 100K integers, over to the server, sending an array in binary format as an image worked best for me on SQL 2005.]]></description>
			<content:encoded><![CDATA[<p>Very nice. Very very nice.<br />
Rob,<br />
Have you benchmarked it against more traditional approaches, like Erland does in his articles?<br />
When I had to send lots of numbers, like 50K or 100K integers, over to the server, sending an array in binary format as an image worked best for me on SQL 2005.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Rob Farley		</title>
		<link>https://lobsterpot.com.au/blog/2011/10/20/table-valued-parameters-in-sql-2005/#comment-2015</link>

		<dc:creator><![CDATA[Rob Farley]]></dc:creator>
		<pubDate>Fri, 21 Oct 2011 00:49:50 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.lobsterpot.com.au/?p=3032#comment-2015</guid>

					<description><![CDATA[Michael - The obvious scenario is 2005, of course. But also, the fact that you don&#039;t have to declare and populate a table variable could be advantageous for some environments.
Frank - that&#039;s ok. It&#039;s just putting an idea out there. I realise that code in triggers is not as obvious as code in stored procs, but I would also suggest that DBAs should be aware of all the places that code can exist.
Atul - yes, there&#039;re lots of reasons why a TVP is a more elegant solution. :)]]></description>
			<content:encoded><![CDATA[<p>Michael &#8211; The obvious scenario is 2005, of course. But also, the fact that you don&#8217;t have to declare and populate a table variable could be advantageous for some environments.<br />
Frank &#8211; that&#8217;s ok. It&#8217;s just putting an idea out there. I realise that code in triggers is not as obvious as code in stored procs, but I would also suggest that DBAs should be aware of all the places that code can exist.<br />
Atul &#8211; yes, there&#8217;re lots of reasons why a TVP is a more elegant solution. 🙂</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Atul Thakor		</title>
		<link>https://lobsterpot.com.au/blog/2011/10/20/table-valued-parameters-in-sql-2005/#comment-2014</link>

		<dc:creator><![CDATA[Atul Thakor]]></dc:creator>
		<pubDate>Thu, 20 Oct 2011 23:51:32 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.lobsterpot.com.au/?p=3032#comment-2014</guid>

					<description><![CDATA[I remember when reading :
&lt;a href=&quot;http://www.amazon.co.uk/MCTS-Self-Paced-Training-Exam-70-433/dp/0735626391&quot; rel=&quot;nofollow ugc&quot;&gt;http://www.amazon.co.uk/MCTS-Self-Paced-Training-Exam-70-433/dp/0735626391&lt;/a&gt;
The author gave a good example of where he used XML to replace a large number of parameters being passed into a stored procedure.
I imagine a table value parameter would be an even better option to pass a large number of parameters into a stored procedure.
Also... thinking about stored procedures... people can pass null&#039;s as parameter values which you sometimes need to handle in the sproc.
Using the TVP you can enforce non-null values being passed in where you absolutely need them!]]></description>
			<content:encoded><![CDATA[<p>I remember when reading :<br />
<a href="http://www.amazon.co.uk/MCTS-Self-Paced-Training-Exam-70-433/dp/0735626391" rel="nofollow ugc">http://www.amazon.co.uk/MCTS-Self-Paced-Training-Exam-70-433/dp/0735626391</a><br />
The author gave a good example of where he used XML to replace a large number of parameters being passed into a stored procedure.<br />
I imagine a table value parameter would be an even better option to pass a large number of parameters into a stored procedure.<br />
Also&#8230; thinking about stored procedures&#8230; people can pass null&#8217;s as parameter values which you sometimes need to handle in the sproc.<br />
Using the TVP you can enforce non-null values being passed in where you absolutely need them!</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Frank Hell		</title>
		<link>https://lobsterpot.com.au/blog/2011/10/20/table-valued-parameters-in-sql-2005/#comment-2013</link>

		<dc:creator><![CDATA[Frank Hell]]></dc:creator>
		<pubDate>Thu, 20 Oct 2011 19:57:25 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.lobsterpot.com.au/?p=3032#comment-2013</guid>

					<description><![CDATA[Holy Cow!
What would Joe Celko say to this trigger abuse? :)
I nice idea, but intransparent - I won&#039;t use in my code...]]></description>
			<content:encoded><![CDATA[<p>Holy Cow!<br />
What would Joe Celko say to this trigger abuse? 🙂<br />
I nice idea, but intransparent &#8211; I won&#8217;t use in my code&#8230;</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: mjswart		</title>
		<link>https://lobsterpot.com.au/blog/2011/10/20/table-valued-parameters-in-sql-2005/#comment-2012</link>

		<dc:creator><![CDATA[mjswart]]></dc:creator>
		<pubDate>Thu, 20 Oct 2011 16:31:46 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.lobsterpot.com.au/?p=3032#comment-2012</guid>

					<description><![CDATA[Hi Rob, 
The biggest value I see in TVPs is to be able to send sets of data to SQL Server from an application efficiently (Where the declaration and population of tables is taken care of). 
I&#039;m curious, do you see any scenarios where this insert-into-view method would get used or is this just a neat little trick?]]></description>
			<content:encoded><![CDATA[<p>Hi Rob,<br />
The biggest value I see in TVPs is to be able to send sets of data to SQL Server from an application efficiently (Where the declaration and population of tables is taken care of).<br />
I&#8217;m curious, do you see any scenarios where this insert-into-view method would get used or is this just a neat little trick?</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
