﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>SQLServerCentral / Article Discussions / Article Discussions by Author / Discuss content posted by Arshad Ali  / SQL Server 2008 T-SQL Enhancements Part - II / 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>Mon, 20 May 2013 09:19:00 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: SQL Server 2008 T-SQL Enhancements Part - II</title><link>http://www.sqlservercentral.com/Forums/Topic759681-1463-1.aspx</link><description>really gr8 ariticle :-)but one thing I'd like to say order of columns must match in Table Type(DB) and Passing Table(.NET).is there any solution for this. plz shere it.Thanks,</description><pubDate>Tue, 22 Feb 2011 03:35:02 GMT</pubDate><dc:creator>sanjeev.k</dc:creator></item><item><title>RE: SQL Server 2008 T-SQL Enhancements Part - II</title><link>http://www.sqlservercentral.com/Forums/Topic759681-1463-1.aspx</link><description>We are using TVP's in a call to a stored procedure. The proc takes three arguments of which all are TVP's. This functionality does not seem to scale at all, no matter how many threads are calling the stored procedure, it always performs the same. We removed all functionality in the proc but this made almost no difference.It seems that the major time is spent in the passing of the TVP's from the .net dataaccess code to the stored procedure.Could there be that there are some locks involved?Is the TVP's not recommended if you call the stored proc at a high frequency? Do we have to send batches instead to achieve any performance?</description><pubDate>Tue, 30 Mar 2010 05:50:26 GMT</pubDate><dc:creator>Finnlake</dc:creator></item><item><title>RE: SQL Server 2008 T-SQL Enhancements Part - II</title><link>http://www.sqlservercentral.com/Forums/Topic759681-1463-1.aspx</link><description>I agree, XML is nice. I use XML in similar cases.</description><pubDate>Fri, 12 Mar 2010 04:15:18 GMT</pubDate><dc:creator>fonHof</dc:creator></item><item><title>RE: SQL Server 2008 T-SQL Enhancements Part - II</title><link>http://www.sqlservercentral.com/Forums/Topic759681-1463-1.aspx</link><description>Nice article.</description><pubDate>Fri, 12 Mar 2010 00:34:23 GMT</pubDate><dc:creator>SQLRNNR</dc:creator></item><item><title>RE: SQL Server 2008 T-SQL Enhancements Part - II</title><link>http://www.sqlservercentral.com/Forums/Topic759681-1463-1.aspx</link><description>In SQL 2005 you can use XML data Type to pass structured data to stored procedure, instead of TVP.</description><pubDate>Mon, 31 Aug 2009 04:15:39 GMT</pubDate><dc:creator>Vlatko Ivanovski-465795</dc:creator></item><item><title>RE: SQL Server 2008 T-SQL Enhancements Part - II</title><link>http://www.sqlservercentral.com/Forums/Topic759681-1463-1.aspx</link><description>hi arshad,I would appreciate if you can put down a piece of code to how it was implemented in SQL Server 2005 ...It can be either using Temp tables or many parameter. A simple example is needed.Thanks,D</description><pubDate>Thu, 27 Aug 2009 12:03:36 GMT</pubDate><dc:creator>dpatel0501-696442</dc:creator></item><item><title>RE: SQL Server 2008 T-SQL Enhancements Part - II</title><link>http://www.sqlservercentral.com/Forums/Topic759681-1463-1.aspx</link><description>Nice article, I especially appreciated how you included the .NET example of passing a table type parameter.  Many articles leave this peace out.I would have appreciated a few more examples with the datetime datatypes.</description><pubDate>Mon, 27 Jul 2009 09:25:09 GMT</pubDate><dc:creator>  Jack Corbett</dc:creator></item><item><title>RE: SQL Server 2008 T-SQL Enhancements Part - II</title><link>http://www.sqlservercentral.com/Forums/Topic759681-1463-1.aspx</link><description>Thanks for theses articles.  I can't wait to start using TVP.  I will see an immediate change in my web app structure.  I already have found myself using strongly typed datatables more often for complex transactions despite the extra work.  Now being able to insert in bulk instead of looping rows is a significant improvement.  Enough so, that some of the refactoring I have been planning on doing has more value.  I would love to read your enhancement summary on time zones.  This also has some serious potential for considering app structure changes.  Thanks again!</description><pubDate>Mon, 27 Jul 2009 08:05:48 GMT</pubDate><dc:creator>Cbo Spikes</dc:creator></item><item><title>RE: SQL Server 2008 T-SQL Enhancements Part - II</title><link>http://www.sqlservercentral.com/Forums/Topic759681-1463-1.aspx</link><description>Nice summary. Probably the biggest disappointment with TVPs is how promising they are in concept but how limiting they are in practice.  Its unfortunate that one needs to define a .NET data table by hand, to exactly match a TVP, instead of being able to just define a datatable as being of type of the TVP itself. Its also a tremendous disappointment that Entity Framework does not support TVPs (even in .NET 4).  SQL Server developments often seem so disjointed. What I was really was hoping to see released was something more "object oriented" - to use that abused phrase - something like (a) to be able to define a table "type" (or "class" or "template" or whatever you want to call it), and (b) be able to create a table as of that type, and (c) be able to create a TVP as of that type, and (d) to be able to create an ADO data table as of that type, etc.(Heck - make "MERGE" know about templates so that when its input is a table and a correspondlingly matched TVP, then it would automatically know how to do its field by field upsert ..)Anyhow, one abstraction for a "data template definition" and many concrete implementation of that template. And EF supported !  Wouldn't that be nice?</description><pubDate>Mon, 27 Jul 2009 06:04:45 GMT</pubDate><dc:creator>riix</dc:creator></item><item><title>SQL Server 2008 T-SQL Enhancements Part - II</title><link>http://www.sqlservercentral.com/Forums/Topic759681-1463-1.aspx</link><description>Comments posted to this topic are about the item [B]&lt;A HREF="/articles/SQL+Server+2008/67550/"&gt;SQL Server 2008 T-SQL Enhancements Part - II&lt;/A&gt;[/B]</description><pubDate>Sat, 25 Jul 2009 13:16:29 GMT</pubDate><dc:creator>Arshad Ali-556241</dc:creator></item></channel></rss>