﻿<?xml version="1.0" encoding="utf-8"?><rss version="2.0"><channel><title>Ayende @ Rahien</title><link>http://ayende.com</link><description>Ayende @ Rahien</description><copyright>Copyright (C) Ayende Rahien  2004 - 2021 (c) 2026</copyright><ttl>60</ttl><item><title>Carl commented on Sending arrays to SQL Server: Xml vs. Comma Separated Values</title><description>We had to use something similar to the UDF to pass an array in Oracle. We did an inner join rather than IN (the IN clause is the Devil). 
  
  
It was significantly faster doing it that way, but of course, even though you are returning a table from the UDF, you can't index it, so it doesn't have the same performance as joining 2 real tables.
</description><link>http://ayende.com/2629/sending-arrays-to-sql-server-xml-vs-comma-separated-values#comment4</link><guid>http://ayende.com/2629/sending-arrays-to-sql-server-xml-vs-comma-separated-values#comment4</guid><pubDate>Wed, 11 Jul 2007 14:49:04 GMT</pubDate></item><item><title>Jeff commented on Sending arrays to SQL Server: Xml vs. Comma Separated Values</title><description>Not sure if this will help, but this is a fantastic article on passing arrays in SQL:
  
  
http://www.sommarskog.se/arrays-in-sql-2005.html#iterative
  
  
</description><link>http://ayende.com/2629/sending-arrays-to-sql-server-xml-vs-comma-separated-values#comment3</link><guid>http://ayende.com/2629/sending-arrays-to-sql-server-xml-vs-comma-separated-values#comment3</guid><pubDate>Tue, 10 Jul 2007 22:27:16 GMT</pubDate></item><item><title>josh commented on Sending arrays to SQL Server: Xml vs. Comma Separated Values</title><description>I used to be the king of sqlxml.. but I learned. Interesting experiment; I'll have to try it out.
  
  
Ooddly enough, my sqlxml output to xslt to html web app is still in use now 6 years later. Still talk to them, and they are still happy with it.
</description><link>http://ayende.com/2629/sending-arrays-to-sql-server-xml-vs-comma-separated-values#comment2</link><guid>http://ayende.com/2629/sending-arrays-to-sql-server-xml-vs-comma-separated-values#comment2</guid><pubDate>Tue, 10 Jul 2007 21:45:21 GMT</pubDate></item><item><title>Moran commented on Sending arrays to SQL Server: Xml vs. Comma Separated Values</title><description>Will it change anything if you INNER JOIN to the UDF instead of WHERE IN... I wonder...
  
  
More crazy Ideas? create a SqlCLR that runs a Regex split, I wish that had regex support had come built in... it doesn't seem to be too much to ask.
</description><link>http://ayende.com/2629/sending-arrays-to-sql-server-xml-vs-comma-separated-values#comment1</link><guid>http://ayende.com/2629/sending-arrays-to-sql-server-xml-vs-comma-separated-values#comment1</guid><pubDate>Tue, 10 Jul 2007 21:02:37 GMT</pubDate></item></channel></rss>