﻿<?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 John Burnette  / Using a function to parse/return the Nth field of a delimited column / 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>Wed, 22 May 2013 01:27:48 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: Using a function to parse/return the Nth field of a delimited column</title><link>http://www.sqlservercentral.com/Forums/Topic805442-1673-1.aspx</link><description>Is there any way of adapting this so that the query took for example the 5th value after a certain value came up in a delimited string? With the certain value arising fairly often.</description><pubDate>Mon, 02 Jul 2012 09:19:48 GMT</pubDate><dc:creator>sqlrd22</dc:creator></item><item><title>RE: Using a function to parse/return the Nth field of a delimited column</title><link>http://www.sqlservercentral.com/Forums/Topic805442-1673-1.aspx</link><description>There is a slight problem with your first IF statement if you truly intend for the delimiter to be "... any weird combination of characters that you think is unique to the source file..."The statement would need to be changed to:IF right(@EntString,LEN(@Delimiter))&amp;lt;&amp;gt;@Delimiterotherwise your delimiter is limited to 1 character</description><pubDate>Fri, 06 Nov 2009 11:14:28 GMT</pubDate><dc:creator>Ken Hiatt</dc:creator></item><item><title>Using a function to parse/return the Nth field of a delimited column</title><link>http://www.sqlservercentral.com/Forums/Topic805442-1673-1.aspx</link><description>Comments posted to this topic are about the item [B]&lt;A HREF="/scripts/ETL/68512/"&gt;Using a function to parse/return the Nth field of a delimited column&lt;/A&gt;[/B]</description><pubDate>Mon, 19 Oct 2009 23:28:55 GMT</pubDate><dc:creator>john.burnette</dc:creator></item></channel></rss>