<?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: SQL Puzzle: SQL Advance Query &#8211; Split the number and Calculate addition	</title>
	<atom:link href="https://www.dbrnd.com/2017/10/sql-puzzle-sql-advance-query-split-the-number-and-calculate-addition/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.dbrnd.com/2017/10/sql-puzzle-sql-advance-query-split-the-number-and-calculate-addition/</link>
	<description>BIGData &#124; NoSQL &#124; MSSQL &#124; MySQL &#124; PostgreSQL</description>
	<lastBuildDate>Thu, 05 Oct 2017 07:59:37 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.0.4</generator>
	<item>
		<title>
		By: Dinesh I.S		</title>
		<link>https://www.dbrnd.com/2017/10/sql-puzzle-sql-advance-query-split-the-number-and-calculate-addition/#comment-5881</link>

		<dc:creator><![CDATA[Dinesh I.S]]></dc:creator>
		<pubDate>Thu, 05 Oct 2017 07:59:37 +0000</pubDate>
		<guid isPermaLink="false">https://www.dbrnd.com/?p=6160#comment-5881</guid>

					<description><![CDATA[Declare @Amount As Int;
Set @Amount=826
;
WITH CTE
As
(Select 0 As SLNo,&#039;0&#039; As Amt
Union All
Select SLNo+1,SubString(Convert(VarChar(50),@Amount),SLNo+1,1) As Amt 
From CTE
Where SLNo+10]]></description>
			<content:encoded><![CDATA[<p>Declare @Amount As Int;<br />
Set @Amount=826<br />
;<br />
WITH CTE<br />
As<br />
(Select 0 As SLNo,&#8217;0&#8242; As Amt<br />
Union All<br />
Select SLNo+1,SubString(Convert(VarChar(50),@Amount),SLNo+1,1) As Amt<br />
From CTE<br />
Where SLNo+10</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
