<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: SQL SERVER &#8211; Denali &#8211; String Function &#8211; FORMAT() &#8211; A Quick Introduction</title>
	<atom:link href="http://blog.sqlauthority.com/2011/09/17/sql-server-denali-string-function-format-a-quick-introduction/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.sqlauthority.com/2011/09/17/sql-server-denali-string-function-format-a-quick-introduction/</link>
	<description>Personal Notes of Pinal Dave</description>
	<lastBuildDate>Thu, 23 May 2013 14:22:59 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>By: Ritchie Roy</title>
		<link>http://blog.sqlauthority.com/2011/09/17/sql-server-denali-string-function-format-a-quick-introduction/#comment-413067</link>
		<dc:creator><![CDATA[Ritchie Roy]]></dc:creator>
		<pubDate>Sat, 26 Jan 2013 00:03:29 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=14424#comment-413067</guid>
		<description><![CDATA[how do I practice many exercises on SQL Server. I&#039;m new to this. I know the basics but I could not able to learn deeply. If you are aware of any links of SQL exercises please let me know. My mail id is [removed]. Thank you.]]></description>
		<content:encoded><![CDATA[<p>how do I practice many exercises on SQL Server. I&#8217;m new to this. I know the basics but I could not able to learn deeply. If you are aware of any links of SQL exercises please let me know. My mail id is [removed]. Thank you.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sudhakar reddy</title>
		<link>http://blog.sqlauthority.com/2011/09/17/sql-server-denali-string-function-format-a-quick-introduction/#comment-397985</link>
		<dc:creator><![CDATA[sudhakar reddy]]></dc:creator>
		<pubDate>Sun, 23 Dec 2012 05:42:34 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=14424#comment-397985</guid>
		<description><![CDATA[Thank u for giving nice understanding ur&#039;s material
it is most helpfull, i saw all ur material.......]]></description>
		<content:encoded><![CDATA[<p>Thank u for giving nice understanding ur&#8217;s material<br />
it is most helpfull, i saw all ur material&#8230;&#8230;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Malcolm</title>
		<link>http://blog.sqlauthority.com/2011/09/17/sql-server-denali-string-function-format-a-quick-introduction/#comment-395714</link>
		<dc:creator><![CDATA[Malcolm]]></dc:creator>
		<pubDate>Tue, 18 Dec 2012 23:12:01 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=14424#comment-395714</guid>
		<description><![CDATA[SELECT FORMAT (GETDATE(), N&#039;dddd MMMM dd, yyyy&#039;) can be replaced with
SELECT FORMAT (CURRENT_TIMESTAMP, &#039;D&#039;)
This is quicker/simpler to write, and can be used with the optional culture param.
GETDATE() and CURRENT_TIMESTAMP return the same value - GETDATE() is T-SQL specific, and CURRENT_TIMESTAMP is standard SQL.]]></description>
		<content:encoded><![CDATA[<p>SELECT FORMAT (GETDATE(), N&#8217;dddd MMMM dd, yyyy&#8217;) can be replaced with<br />
SELECT FORMAT (CURRENT_TIMESTAMP, &#8216;D&#8217;)<br />
This is quicker/simpler to write, and can be used with the optional culture param.<br />
GETDATE() and CURRENT_TIMESTAMP return the same value &#8211; GETDATE() is T-SQL specific, and CURRENT_TIMESTAMP is standard SQL.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: SQL SERVER &#8211; Denali &#8211; String Function &#8211; CONCAT() &#8211; A Quick Introduction &#171; SQL Server Journey with SQL Authority</title>
		<link>http://blog.sqlauthority.com/2011/09/17/sql-server-denali-string-function-format-a-quick-introduction/#comment-386717</link>
		<dc:creator><![CDATA[SQL SERVER &#8211; Denali &#8211; String Function &#8211; CONCAT() &#8211; A Quick Introduction &#171; SQL Server Journey with SQL Authority]]></dc:creator>
		<pubDate>Tue, 04 Dec 2012 09:48:53 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=14424#comment-386717</guid>
		<description><![CDATA[[...] SQLAuthority News &#8211; Uncut and Unedited &#8211; Interview of Pinal Dave on Book&#160;Authoring SQL SERVER &#8211; Denali &#8211; String Function &#8211; FORMAT() &#8211; A Quick&#160;Introduction [...]]]></description>
		<content:encoded><![CDATA[<p>[...] SQLAuthority News &#8211; Uncut and Unedited &#8211; Interview of Pinal Dave on Book&nbsp;Authoring SQL SERVER &#8211; Denali &#8211; String Function &#8211; FORMAT() &#8211; A Quick&nbsp;Introduction [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: SQL SERVER &#8211; Denali &#8211; String Function &#8211; CONCAT() &#8211; A Quick Introduction &#171; SQL Server Journey with SQL Authority</title>
		<link>http://blog.sqlauthority.com/2011/09/17/sql-server-denali-string-function-format-a-quick-introduction/#comment-386718</link>
		<dc:creator><![CDATA[SQL SERVER &#8211; Denali &#8211; String Function &#8211; CONCAT() &#8211; A Quick Introduction &#171; SQL Server Journey with SQL Authority]]></dc:creator>
		<pubDate>Tue, 04 Dec 2012 09:48:53 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=14424#comment-386718</guid>
		<description><![CDATA[[...] SQLAuthority News &#8211; Uncut and Unedited &#8211; Interview of Pinal Dave on Book&#160;Authoring SQL SERVER &#8211; Denali &#8211; String Function &#8211; FORMAT() &#8211; A Quick&#160;Introduction [...]]]></description>
		<content:encoded><![CDATA[<p>[...] SQLAuthority News &#8211; Uncut and Unedited &#8211; Interview of Pinal Dave on Book&nbsp;Authoring SQL SERVER &#8211; Denali &#8211; String Function &#8211; FORMAT() &#8211; A Quick&nbsp;Introduction [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Amit Sawant</title>
		<link>http://blog.sqlauthority.com/2011/09/17/sql-server-denali-string-function-format-a-quick-introduction/#comment-313936</link>
		<dc:creator><![CDATA[Amit Sawant]]></dc:creator>
		<pubDate>Mon, 16 Jul 2012 03:58:25 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=14424#comment-313936</guid>
		<description><![CDATA[Thanks a lot. It will prove very helpful to us as we support 10 Locales.]]></description>
		<content:encoded><![CDATA[<p>Thanks a lot. It will prove very helpful to us as we support 10 Locales.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: SQL SERVER &#8211; 2012 Functions &#8211; FORMAT() and CONCAT() &#8211; An Interesting Usage &#171; SQL Server Journey with SQL Authority</title>
		<link>http://blog.sqlauthority.com/2011/09/17/sql-server-denali-string-function-format-a-quick-introduction/#comment-313881</link>
		<dc:creator><![CDATA[SQL SERVER &#8211; 2012 Functions &#8211; FORMAT() and CONCAT() &#8211; An Interesting Usage &#171; SQL Server Journey with SQL Authority]]></dc:creator>
		<pubDate>Mon, 16 Jul 2012 01:30:52 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=14424#comment-313881</guid>
		<description><![CDATA[[...] String Function – FORMAT() – A Quick Introduction [...]]]></description>
		<content:encoded><![CDATA[<p>[...] String Function – FORMAT() – A Quick Introduction [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Saint Sam</title>
		<link>http://blog.sqlauthority.com/2011/09/17/sql-server-denali-string-function-format-a-quick-introduction/#comment-257514</link>
		<dc:creator><![CDATA[Saint Sam]]></dc:creator>
		<pubDate>Tue, 28 Feb 2012 06:42:36 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=14424#comment-257514</guid>
		<description><![CDATA[Great stuff. Thank you so much for being an answer to the cry of many]]></description>
		<content:encoded><![CDATA[<p>Great stuff. Thank you so much for being an answer to the cry of many</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: waqas</title>
		<link>http://blog.sqlauthority.com/2011/09/17/sql-server-denali-string-function-format-a-quick-introduction/#comment-227367</link>
		<dc:creator><![CDATA[waqas]]></dc:creator>
		<pubDate>Wed, 28 Dec 2011 12:50:14 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=14424#comment-227367</guid>
		<description><![CDATA[great code here but i try this code in sql server it did not execute.]]></description>
		<content:encoded><![CDATA[<p>great code here but i try this code in sql server it did not execute.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vijayakumar P</title>
		<link>http://blog.sqlauthority.com/2011/09/17/sql-server-denali-string-function-format-a-quick-introduction/#comment-181436</link>
		<dc:creator><![CDATA[Vijayakumar P]]></dc:creator>
		<pubDate>Fri, 21 Oct 2011 05:38:49 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=14424#comment-181436</guid>
		<description><![CDATA[Thanks pinal....... nice post... formatting date for country...]]></description>
		<content:encoded><![CDATA[<p>Thanks pinal&#8230;&#8230;. nice post&#8230; formatting date for country&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nakul Vachhrajani</title>
		<link>http://blog.sqlauthority.com/2011/09/17/sql-server-denali-string-function-format-a-quick-introduction/#comment-176460</link>
		<dc:creator><![CDATA[Nakul Vachhrajani]]></dc:creator>
		<pubDate>Sat, 08 Oct 2011 14:15:05 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=14424#comment-176460</guid>
		<description><![CDATA[Hello, Sri!

I expressed my opinion on the feature in general, and the comment was in no way directed towards you. I am sorry if it appeared that way.

In your case, you plan to use formatting when generating a report - which to me is a representational layer, making it legal to undertake such formatting exercises.

My only concern was, and is, that users might end up storing formatted data - which creates problems down the road.]]></description>
		<content:encoded><![CDATA[<p>Hello, Sri!</p>
<p>I expressed my opinion on the feature in general, and the comment was in no way directed towards you. I am sorry if it appeared that way.</p>
<p>In your case, you plan to use formatting when generating a report &#8211; which to me is a representational layer, making it legal to undertake such formatting exercises.</p>
<p>My only concern was, and is, that users might end up storing formatted data &#8211; which creates problems down the road.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sri</title>
		<link>http://blog.sqlauthority.com/2011/09/17/sql-server-denali-string-function-format-a-quick-introduction/#comment-176034</link>
		<dc:creator><![CDATA[Sri]]></dc:creator>
		<pubDate>Fri, 07 Oct 2011 09:37:06 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=14424#comment-176034</guid>
		<description><![CDATA[Hi Nakulvachhrajani,

I am not sure if your replied to my query or just expressed your view on the article. I am not storing the fomatted data in the database but I would 
like to genarate the output column in a report as described above.

I have a table called &quot;persons&quot; where firstname is one column, all I want is to genarate a report with the firstname as one column.
The formatting should be as follows:
when the firstname is like &quot; Somename A.&quot; then the output should be &quot; Somename-A&quot;
when the firstname is like &quot; A. B. Somename&quot; then the output should be &quot;Somename-A-B&quot;

(Any letter with a period after it in the firstname needs to be treated as Middle Initials and will need to be formatted as: Firstname-M)

Thanks in advance,
Sri.]]></description>
		<content:encoded><![CDATA[<p>Hi Nakulvachhrajani,</p>
<p>I am not sure if your replied to my query or just expressed your view on the article. I am not storing the fomatted data in the database but I would<br />
like to genarate the output column in a report as described above.</p>
<p>I have a table called &#8220;persons&#8221; where firstname is one column, all I want is to genarate a report with the firstname as one column.<br />
The formatting should be as follows:<br />
when the firstname is like &#8221; Somename A.&#8221; then the output should be &#8221; Somename-A&#8221;<br />
when the firstname is like &#8221; A. B. Somename&#8221; then the output should be &#8220;Somename-A-B&#8221;</p>
<p>(Any letter with a period after it in the firstname needs to be treated as Middle Initials and will need to be formatted as: Firstname-M)</p>
<p>Thanks in advance,<br />
Sri.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: nakulvachhrajani</title>
		<link>http://blog.sqlauthority.com/2011/09/17/sql-server-denali-string-function-format-a-quick-introduction/#comment-175608</link>
		<dc:creator><![CDATA[nakulvachhrajani]]></dc:creator>
		<pubDate>Thu, 06 Oct 2011 08:02:45 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=14424#comment-175608</guid>
		<description><![CDATA[I guess it&#039;s time to be more careful now. Representation of data should *always* be handled by the UI. The database is a data store - as long as data is stored in one universal format across the database, there is nothing more that the DB should be doing.

It&#039;s easy to get carried away and put all formatting logic in T-SQL code, but it&#039;s like opening a can of worms.]]></description>
		<content:encoded><![CDATA[<p>I guess it&#8217;s time to be more careful now. Representation of data should *always* be handled by the UI. The database is a data store &#8211; as long as data is stored in one universal format across the database, there is nothing more that the DB should be doing.</p>
<p>It&#8217;s easy to get carried away and put all formatting logic in T-SQL code, but it&#8217;s like opening a can of worms.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sri</title>
		<link>http://blog.sqlauthority.com/2011/09/17/sql-server-denali-string-function-format-a-quick-introduction/#comment-175364</link>
		<dc:creator><![CDATA[Sri]]></dc:creator>
		<pubDate>Wed, 05 Oct 2011 13:19:57 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=14424#comment-175364</guid>
		<description><![CDATA[Hi Pinal,

Could you please helip me in writing a SQL function which formats the input string as follows.

Any letter with a period after it in the firstname needs to be treated as Middle Initials and woill needs to be formatted as: Firstname-M

For ex: Somename A. --&gt; Somename-A
        A. B. Somename --&gt; Somename-A-B

Thanks in advance,
Sri]]></description>
		<content:encoded><![CDATA[<p>Hi Pinal,</p>
<p>Could you please helip me in writing a SQL function which formats the input string as follows.</p>
<p>Any letter with a period after it in the firstname needs to be treated as Middle Initials and woill needs to be formatted as: Firstname-M</p>
<p>For ex: Somename A. &#8211;&gt; Somename-A<br />
        A. B. Somename &#8211;&gt; Somename-A-B</p>
<p>Thanks in advance,<br />
Sri</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: pinaldave</title>
		<link>http://blog.sqlauthority.com/2011/09/17/sql-server-denali-string-function-format-a-quick-introduction/#comment-174679</link>
		<dc:creator><![CDATA[pinaldave]]></dc:creator>
		<pubDate>Mon, 03 Oct 2011 17:11:54 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=14424#comment-174679</guid>
		<description><![CDATA[Thank you sir! 

I must accept that I missed it, I will fix it immediately.]]></description>
		<content:encoded><![CDATA[<p>Thank you sir! </p>
<p>I must accept that I missed it, I will fix it immediately.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: aaronbertrand</title>
		<link>http://blog.sqlauthority.com/2011/09/17/sql-server-denali-string-function-format-a-quick-introduction/#comment-174663</link>
		<dc:creator><![CDATA[aaronbertrand]]></dc:creator>
		<pubDate>Mon, 03 Oct 2011 15:42:26 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=14424#comment-174663</guid>
		<description><![CDATA[Your code for Month should be using upper-case M, not lower-case m. In three of those cases, you are showing the result of minutes, not months.]]></description>
		<content:encoded><![CDATA[<p>Your code for Month should be using upper-case M, not lower-case m. In three of those cases, you are showing the result of minutes, not months.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Raghav</title>
		<link>http://blog.sqlauthority.com/2011/09/17/sql-server-denali-string-function-format-a-quick-introduction/#comment-170382</link>
		<dc:creator><![CDATA[Raghav]]></dc:creator>
		<pubDate>Wed, 21 Sep 2011 16:56:09 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=14424#comment-170382</guid>
		<description><![CDATA[Wow!

Thats really a great update from Microsoft.

Thanks a lot sir for sharing :)]]></description>
		<content:encoded><![CDATA[<p>Wow!</p>
<p>Thats really a great update from Microsoft.</p>
<p>Thanks a lot sir for sharing :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: SQL SERVER &#8211; Denali &#8211; 14 New Functions &#8211; A Quick Guide &#171; Journey to SQLAuthority</title>
		<link>http://blog.sqlauthority.com/2011/09/17/sql-server-denali-string-function-format-a-quick-introduction/#comment-170123</link>
		<dc:creator><![CDATA[SQL SERVER &#8211; Denali &#8211; 14 New Functions &#8211; A Quick Guide &#171; Journey to SQLAuthority]]></dc:creator>
		<pubDate>Wed, 21 Sep 2011 01:31:19 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=14424#comment-170123</guid>
		<description><![CDATA[[...] FORMAT [...]]]></description>
		<content:encoded><![CDATA[<p>[...] FORMAT [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gill Bates</title>
		<link>http://blog.sqlauthority.com/2011/09/17/sql-server-denali-string-function-format-a-quick-introduction/#comment-169157</link>
		<dc:creator><![CDATA[Gill Bates]]></dc:creator>
		<pubDate>Sun, 18 Sep 2011 02:13:01 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=14424#comment-169157</guid>
		<description><![CDATA[Since it is. Net based, does using it result in a performance penalty? In Sql2005 at least, calling a simple clr based string function was much slower than built-ins like REPLACE etc]]></description>
		<content:encoded><![CDATA[<p>Since it is. Net based, does using it result in a performance penalty? In Sql2005 at least, calling a simple clr based string function was much slower than built-ins like REPLACE etc</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Partha Pratim Dinda</title>
		<link>http://blog.sqlauthority.com/2011/09/17/sql-server-denali-string-function-format-a-quick-introduction/#comment-168969</link>
		<dc:creator><![CDATA[Partha Pratim Dinda]]></dc:creator>
		<pubDate>Sat, 17 Sep 2011 06:48:21 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=14424#comment-168969</guid>
		<description><![CDATA[Thanks Pinal for sharing the format () It will really helpful to solve many critical issue easily.

Please check the example2  the currency format() image .

Thanks,
Partha]]></description>
		<content:encoded><![CDATA[<p>Thanks Pinal for sharing the format () It will really helpful to solve many critical issue easily.</p>
<p>Please check the example2  the currency format() image .</p>
<p>Thanks,<br />
Partha</p>
]]></content:encoded>
	</item>
</channel>
</rss>
