<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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:slash="http://purl.org/rss/1.0/modules/slash/"
	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>A Journey 2 Eternity</title>
	<atom:link href="http://neelaakash.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://neelaakash.wordpress.com</link>
	<description></description>
	<lastBuildDate>Fri, 23 Dec 2011 00:20:39 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='neelaakash.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>A Journey 2 Eternity</title>
		<link>http://neelaakash.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://neelaakash.wordpress.com/osd.xml" title="A Journey 2 Eternity" />
	<atom:link rel='hub' href='http://neelaakash.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Create a Weekly Date Bucket</title>
		<link>http://neelaakash.wordpress.com/2011/12/23/create-a-weekly-date-bucket/</link>
		<comments>http://neelaakash.wordpress.com/2011/12/23/create-a-weekly-date-bucket/#comments</comments>
		<pubDate>Fri, 23 Dec 2011 00:19:00 +0000</pubDate>
		<dc:creator>Neel Aakash</dc:creator>
				<category><![CDATA[SQL]]></category>
		<category><![CDATA[mssq]]></category>
		<category><![CDATA[sql]]></category>

		<guid isPermaLink="false">http://neelaakash.wordpress.com/?p=282</guid>
		<description><![CDATA[<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=neelaakash.wordpress.com&amp;blog=2106836&amp;post=282&amp;subd=neelaakash&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><pre class="brush: sql;">

DECLARE @startdate SMALLDATETIME = '2011-01-01'
DECLARE @stopdate SMALLDATETIME = '2011-12-31'

-- Create a Table
DECLARE @weekTable TABLE (
Id INT IDENTITY (1, 1),
StartDate SMALLDATETIME,
EndDate SMALLDATETIME
)

-- Find Monday at that week
DECLARE @currentDate SMALLDATETIME = DATEADD(d, 2 - DATEPART(dw, @startdate), @startdate)

WHILE @currentDate &lt;= @stopdate BEGIN
INSERT INTO @weekTable VALUES (@currentDate, DATEADD(d, 6, @currentDate))
SET @currentDate = DATEADD(ww, 1, @currentDate)
END

-- Return the results
SELECT Id 'Week #', StartDate 'Start Date', EndDate 'End Date'
FROM @weekTable

</pre></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/neelaakash.wordpress.com/282/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/neelaakash.wordpress.com/282/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/neelaakash.wordpress.com/282/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/neelaakash.wordpress.com/282/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/neelaakash.wordpress.com/282/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/neelaakash.wordpress.com/282/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/neelaakash.wordpress.com/282/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/neelaakash.wordpress.com/282/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/neelaakash.wordpress.com/282/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/neelaakash.wordpress.com/282/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/neelaakash.wordpress.com/282/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/neelaakash.wordpress.com/282/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/neelaakash.wordpress.com/282/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/neelaakash.wordpress.com/282/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=neelaakash.wordpress.com&amp;blog=2106836&amp;post=282&amp;subd=neelaakash&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://neelaakash.wordpress.com/2011/12/23/create-a-weekly-date-bucket/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/b20e7ace389564e3eb356114f4e291cf?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Neel Aakash</media:title>
		</media:content>
	</item>
		<item>
		<title>&#8220;deprecated&#8221; in C++ Builder</title>
		<link>http://neelaakash.wordpress.com/2011/11/23/deprecated-in-c-builder/</link>
		<comments>http://neelaakash.wordpress.com/2011/11/23/deprecated-in-c-builder/#comments</comments>
		<pubDate>Wed, 23 Nov 2011 06:33:51 +0000</pubDate>
		<dc:creator>Neel Aakash</dc:creator>
				<category><![CDATA[C++ Builder]]></category>
		<category><![CDATA[C++]]></category>

		<guid isPermaLink="false">http://neelaakash.wordpress.com/?p=270</guid>
		<description><![CDATA[We can deprecate a method, property, or even an entire class in C++ Builder, using the [[deprecated]] attribute. Deprecating an entity is a way of signalling to other developers that it should no longer be used, typically because there is another – more preferable – way of doing things. When a deprecated entity is used [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=neelaakash.wordpress.com&amp;blog=2106836&amp;post=270&amp;subd=neelaakash&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>We can deprecate a method, property, or even an entire class in C++ Builder, using the <strong>[[deprecated]]</strong> attribute. Deprecating an entity is a way of signalling to other developers that it should no longer be used, typically because there is another – more preferable – way of doing things.</p>
<p>When a deprecated entity is used in code, a compiler warning will be issued.</p>
<p><pre class="brush: cpp;">
enum StatModelsType [[deprecated(&quot;Use StatisticalModelType instead.&quot;)]] {
smtNone = 0,
smtScanModel,
smtExFactoryModel,
smtOptimiserModel
};
</pre></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/neelaakash.wordpress.com/270/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/neelaakash.wordpress.com/270/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/neelaakash.wordpress.com/270/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/neelaakash.wordpress.com/270/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/neelaakash.wordpress.com/270/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/neelaakash.wordpress.com/270/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/neelaakash.wordpress.com/270/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/neelaakash.wordpress.com/270/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/neelaakash.wordpress.com/270/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/neelaakash.wordpress.com/270/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/neelaakash.wordpress.com/270/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/neelaakash.wordpress.com/270/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/neelaakash.wordpress.com/270/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/neelaakash.wordpress.com/270/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=neelaakash.wordpress.com&amp;blog=2106836&amp;post=270&amp;subd=neelaakash&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://neelaakash.wordpress.com/2011/11/23/deprecated-in-c-builder/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/b20e7ace389564e3eb356114f4e291cf?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Neel Aakash</media:title>
		</media:content>
	</item>
		<item>
		<title>Find the first date, last date and total days of a month</title>
		<link>http://neelaakash.wordpress.com/2011/11/16/find-the-first-date-last-date-and-total-days-of-a-month/</link>
		<comments>http://neelaakash.wordpress.com/2011/11/16/find-the-first-date-last-date-and-total-days-of-a-month/#comments</comments>
		<pubDate>Wed, 16 Nov 2011 05:44:20 +0000</pubDate>
		<dc:creator>Neel Aakash</dc:creator>
				<category><![CDATA[SQL]]></category>
		<category><![CDATA[mssql]]></category>
		<category><![CDATA[sql]]></category>

		<guid isPermaLink="false">http://neelaakash.wordpress.com/?p=266</guid>
		<description><![CDATA[<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=neelaakash.wordpress.com&amp;blog=2106836&amp;post=266&amp;subd=neelaakash&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><pre class="brush: sql;">

DECLARE @Date datetime
SET @Date = '2011/11/16'
SELECT  DATEADD(dd,-(DATEPART(dw, @Date) - 1),@Date) AS 'First day of the week',
DATEADD(dd,-(DATEPART(dw, @Date) - 7),@Date) AS 'Last day of the week',
DAY(DATEADD(d, -DAY(DATEADD(m,1,@Date)),DATEADD(m,1,@Date))) AS 'Total day of the month'

</pre></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/neelaakash.wordpress.com/266/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/neelaakash.wordpress.com/266/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/neelaakash.wordpress.com/266/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/neelaakash.wordpress.com/266/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/neelaakash.wordpress.com/266/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/neelaakash.wordpress.com/266/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/neelaakash.wordpress.com/266/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/neelaakash.wordpress.com/266/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/neelaakash.wordpress.com/266/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/neelaakash.wordpress.com/266/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/neelaakash.wordpress.com/266/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/neelaakash.wordpress.com/266/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/neelaakash.wordpress.com/266/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/neelaakash.wordpress.com/266/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=neelaakash.wordpress.com&amp;blog=2106836&amp;post=266&amp;subd=neelaakash&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://neelaakash.wordpress.com/2011/11/16/find-the-first-date-last-date-and-total-days-of-a-month/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/b20e7ace389564e3eb356114f4e291cf?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Neel Aakash</media:title>
		</media:content>
	</item>
		<item>
		<title>Retrieving the table column details</title>
		<link>http://neelaakash.wordpress.com/2011/11/16/retrieving-the-table-column-details/</link>
		<comments>http://neelaakash.wordpress.com/2011/11/16/retrieving-the-table-column-details/#comments</comments>
		<pubDate>Wed, 16 Nov 2011 05:19:04 +0000</pubDate>
		<dc:creator>Neel Aakash</dc:creator>
				<category><![CDATA[SQL]]></category>
		<category><![CDATA[mssql]]></category>
		<category><![CDATA[sql]]></category>

		<guid isPermaLink="false">http://neelaakash.wordpress.com/?p=259</guid>
		<description><![CDATA[The following query retrieving the table column details.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=neelaakash.wordpress.com&amp;blog=2106836&amp;post=259&amp;subd=neelaakash&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>The following query retrieving the table column details.<br />
<pre class="brush: sql;">
SELECT COLUMN_NAME [Field],DATA_TYPE + '(' + ISNULL(CONVERT(NVARCHAR,CHARACTER_MAXIMUM_LENGTH),'') + ')' + '    ' + CASE WHEN IS_NULLABLE = 'NO' THEN 'NOT ' ELSE '' END + 'NULL' [Type] 
FROM INFORMATION_SCHEMA.COLUMNS 
WHERE TABLE_NAME = 'account' 
ORDER BY ORDINAL_POSITION ASC
</pre></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/neelaakash.wordpress.com/259/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/neelaakash.wordpress.com/259/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/neelaakash.wordpress.com/259/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/neelaakash.wordpress.com/259/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/neelaakash.wordpress.com/259/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/neelaakash.wordpress.com/259/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/neelaakash.wordpress.com/259/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/neelaakash.wordpress.com/259/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/neelaakash.wordpress.com/259/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/neelaakash.wordpress.com/259/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/neelaakash.wordpress.com/259/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/neelaakash.wordpress.com/259/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/neelaakash.wordpress.com/259/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/neelaakash.wordpress.com/259/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=neelaakash.wordpress.com&amp;blog=2106836&amp;post=259&amp;subd=neelaakash&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://neelaakash.wordpress.com/2011/11/16/retrieving-the-table-column-details/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/b20e7ace389564e3eb356114f4e291cf?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Neel Aakash</media:title>
		</media:content>
	</item>
		<item>
		<title>Painting a Gradient back ground</title>
		<link>http://neelaakash.wordpress.com/2009/06/08/painting-a-gradient-back-ground/</link>
		<comments>http://neelaakash.wordpress.com/2009/06/08/painting-a-gradient-back-ground/#comments</comments>
		<pubDate>Mon, 08 Jun 2009 12:14:53 +0000</pubDate>
		<dc:creator>Neel Aakash</dc:creator>
				<category><![CDATA[MFC]]></category>
		<category><![CDATA[background]]></category>
		<category><![CDATA[Gradient]]></category>
		<category><![CDATA[Gradient background]]></category>

		<guid isPermaLink="false">http://neelaakash.wordpress.com/?p=218</guid>
		<description><![CDATA[Here’s a sample which draws background of a dialog with gradient colors.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=neelaakash.wordpress.com&amp;blog=2106836&amp;post=218&amp;subd=neelaakash&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Here’s a sample which draws background of a <span style="text-decoration:underline;">dialog</span> with gradient colors.<br />
<pre class="brush: cpp;">
BOOL CMyDlg::OnEraseBkgnd(CDC* pDC)
{
CRect rect;
GetClientRect(&amp;rect);

TRIVERTEX vert[4] = {
{ rect.left, rect.top, 0xff00, 0xff00, 0xff00, 0 },
{ rect.right, rect.top, 0, 0xff00, 0xff00, 0 },
{ rect.right, rect.bottom, 0xff00, 0, 0xff00, 0 },
{ rect.left, rect.bottom, 0xff00, 0xff00, 0, 0 }
};

GRADIENT_TRIANGLE grad[2] = {
{ 0, 1, 2 },
{ 0, 2, 3 }
};

::GradientFill( pDC-&gt;m_hDC, vert, 4, grad, 2, GRADIENT_FILL_TRIANGLE );

return TRUE;
}

void CMyDlg::OnSize(UINT nType, int cx, int cy)
{
// To ensure the background of the whole dialog is re-drawn
Invalidate();
CDialog::OnSize(nType, cx, cy);
}
</pre></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/neelaakash.wordpress.com/218/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/neelaakash.wordpress.com/218/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/neelaakash.wordpress.com/218/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/neelaakash.wordpress.com/218/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/neelaakash.wordpress.com/218/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/neelaakash.wordpress.com/218/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/neelaakash.wordpress.com/218/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/neelaakash.wordpress.com/218/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/neelaakash.wordpress.com/218/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/neelaakash.wordpress.com/218/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/neelaakash.wordpress.com/218/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/neelaakash.wordpress.com/218/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/neelaakash.wordpress.com/218/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/neelaakash.wordpress.com/218/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=neelaakash.wordpress.com&amp;blog=2106836&amp;post=218&amp;subd=neelaakash&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://neelaakash.wordpress.com/2009/06/08/painting-a-gradient-back-ground/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/b20e7ace389564e3eb356114f4e291cf?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Neel Aakash</media:title>
		</media:content>
	</item>
	</channel>
</rss>
