<?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>Asp.net &#38; Sql server fundas with Rajat Jaiswal</title>
	<atom:link href="http://indiandotnet.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://indiandotnet.wordpress.com</link>
	<description>Rajat Jaiswal with Asp.net ,Silverlight, MVC &#38; many more</description>
	<lastBuildDate>Sun, 15 Jan 2012 04:31:09 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='indiandotnet.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Asp.net &#38; Sql server fundas with Rajat Jaiswal</title>
		<link>http://indiandotnet.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://indiandotnet.wordpress.com/osd.xml" title="Asp.net &#38; Sql server fundas with Rajat Jaiswal" />
	<atom:link rel='hub' href='http://indiandotnet.wordpress.com/?pushpress=hub'/>
		<item>
		<title>How to resolve &#8220;AJAXControlToolKit required Ajax 4.0 script.&#8221;</title>
		<link>http://indiandotnet.wordpress.com/2012/01/15/how-to-resolve-ajaxcontroltoolkit-required-ajax-4-0-script/</link>
		<comments>http://indiandotnet.wordpress.com/2012/01/15/how-to-resolve-ajaxcontroltoolkit-required-ajax-4-0-script/#comments</comments>
		<pubDate>Sun, 15 Jan 2012 04:30:35 +0000</pubDate>
		<dc:creator>indiandotnet</dc:creator>
				<category><![CDATA[ajax]]></category>
		<category><![CDATA[Asp.net]]></category>
		<category><![CDATA[performance]]></category>
		<category><![CDATA[Rajat Jaiswal]]></category>

		<guid isPermaLink="false">http://indiandotnet.wordpress.com/?p=607</guid>
		<description><![CDATA[Hello friends, Recently my college got problem in AJAX file upload control which is “AJAXControlToolKit required Ajax4.0 script” see the error detail in below snap.  So the reason behind this he is using AJAX script manager not AJAX toolkit script manager. Now you have question when to use script manager and when to use AJAX [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=indiandotnet.wordpress.com&amp;blog=4702332&amp;post=607&amp;subd=indiandotnet&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Hello friends,</p>
<p>Recently my college got problem in AJAX file upload control which is “<strong>AJAXControlToolKit required Ajax4.0 script</strong>”</p>
<p>see the error detail in below snap.</p>
<p><a href="http://indiandotnet.files.wordpress.com/2012/01/aspnet_ajax_4_script.png"><img class="alignnone size-medium wp-image-608" title="aspnet_Ajax_4_Script" src="http://indiandotnet.files.wordpress.com/2012/01/aspnet_ajax_4_script.png?w=300&#038;h=200" alt="" width="300" height="200" /></a></p>
<p> So the reason behind this he is using <strong>AJAX script manager</strong> not <strong>AJAX toolkit script manager</strong>. Now you have question when to use <strong>script manager</strong> and when to use <strong>AJAX toolkit script manager</strong> so my suggestion is always use <strong>AJAX toolkit script manager</strong> because it is faster than script manager in many ways and if you try to find difference between<strong> AJAX script Manager &amp; AJAX Toolkit script manager</strong> then you will find <strong>AJAX toolkit script manager</strong> is best option for<strong> enhancement of your web app</strong> <strong>performanc</strong>e also<strong>.</strong></p>
<p><strong>(If you have not downloaded AJAX toolkit Script Manager then you can download latest  AJAX toolkit and install on your machine)</strong></p>
<p> So Enjoy weekend.</p>
<p> <strong>Happy Makar sakranti (Indian New Year)</strong></p>
<p>Thanks &amp; Best Regards,</p>
<p><strong> Rajat Jaiswal</strong></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/indiandotnet.wordpress.com/607/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/indiandotnet.wordpress.com/607/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/indiandotnet.wordpress.com/607/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/indiandotnet.wordpress.com/607/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/indiandotnet.wordpress.com/607/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/indiandotnet.wordpress.com/607/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/indiandotnet.wordpress.com/607/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/indiandotnet.wordpress.com/607/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/indiandotnet.wordpress.com/607/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/indiandotnet.wordpress.com/607/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/indiandotnet.wordpress.com/607/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/indiandotnet.wordpress.com/607/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/indiandotnet.wordpress.com/607/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/indiandotnet.wordpress.com/607/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=indiandotnet.wordpress.com&amp;blog=4702332&amp;post=607&amp;subd=indiandotnet&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://indiandotnet.wordpress.com/2012/01/15/how-to-resolve-ajaxcontroltoolkit-required-ajax-4-0-script/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8572b18e87360e701f31fa6a494e0ea9?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Raj from india</media:title>
		</media:content>

		<media:content url="http://indiandotnet.files.wordpress.com/2012/01/aspnet_ajax_4_script.png?w=300" medium="image">
			<media:title type="html">aspnet_Ajax_4_Script</media:title>
		</media:content>
	</item>
		<item>
		<title>AJAXminifier a tool for website performance enhancement</title>
		<link>http://indiandotnet.wordpress.com/2012/01/09/ajaxminifier-a-tool-for-website-performance-enhancement/</link>
		<comments>http://indiandotnet.wordpress.com/2012/01/09/ajaxminifier-a-tool-for-website-performance-enhancement/#comments</comments>
		<pubDate>Mon, 09 Jan 2012 19:43:31 +0000</pubDate>
		<dc:creator>indiandotnet</dc:creator>
				<category><![CDATA[ajax]]></category>
		<category><![CDATA[Asp.net]]></category>
		<category><![CDATA[Rajat Jaiswal]]></category>

		<guid isPermaLink="false">http://indiandotnet.wordpress.com/?p=601</guid>
		<description><![CDATA[Dear Friends, Today I am going to share one more interesting utility provided by Microsoft which is called “Microsoft Ajax Minifier”. Microsoft Ajax Minifier is a utility which will help you in minimizing the size of your Java script and CSS. You can download this utility from http://www.asp.net/ajaxLibrary/Download.ashx You can use this by command prompt. [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=indiandotnet.wordpress.com&amp;blog=4702332&amp;post=601&amp;subd=indiandotnet&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Dear Friends,<br />
Today I am going to share one more interesting utility provided by <strong>Microsoft</strong> which is called <strong>“Microsoft Ajax Minifier</strong>”.<br />
<strong>Microsoft Ajax Minifier</strong> is a utility which will help you in <strong>minimizing the size</strong> of your <strong>Java script and CSS.</strong><br />
You can download this utility from <a href="http://www.asp.net/ajaxLibrary/Download.ashx">http://www.asp.net/ajaxLibrary/Download.ashx</a><br />
You can use this by <strong>command prompt.</strong><br />
For example I want to <strong>minimize the default.css</strong> of my project then I will follow following steps<br />
<strong>Step 1:</strong> Run  <strong>ajaxmin command</strong> as shown in below fig</p>
<p><a href="http://indiandotnet.files.wordpress.com/2012/01/ajaxmini1.png"><img title="AjaxMini1" src="http://indiandotnet.files.wordpress.com/2012/01/ajaxmini1.png?w=300&#038;h=147" alt="" width="300" height="147" /></a></p>
<p>&nbsp;<br />
<strong>Step 2:</strong> if command is successful then you will get following screen</p>
<p><a href="http://indiandotnet.files.wordpress.com/2012/01/ajaxmini2.png"><img class="alignnone size-medium wp-image-603" title="ajaxmini2" src="http://indiandotnet.files.wordpress.com/2012/01/ajaxmini2.png?w=300&#038;h=144" alt="" width="300" height="144" /></a><br />
In this way after successful execution if you see the size of CSS file it significantly reduced as shown in below fig.</p>
<p><a href="http://indiandotnet.files.wordpress.com/2012/01/ajaxminisize.png"><img class="alignnone size-medium wp-image-604" title="ajaxminiSize" src="http://indiandotnet.files.wordpress.com/2012/01/ajaxminisize.png?w=300&#038;h=27" alt="" width="300" height="27" /></a></p>
<p>You have seen all the steps and utility now you are thinking why we have to use this and how it will work. So the answer is if your JS &amp; CSS file size is less then it will take less time in load and your website will be faster. The working is as simple as you thought</p>
<p><strong>AJAXMinifier</strong> <strong>remove all the unwanted white space</strong>, curly braces and use short hand in declaration and many more techniques for <strong>reducing the size</strong>.</p>
<p>I hope this will help you and me also in <strong>performance boost</strong>.<br />
Keep enjoying <strong>Microsoft tools</strong>.</p>
<p>Thanks &amp; best regards,<br />
<strong>Rajat Jaiswal</strong></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/indiandotnet.wordpress.com/601/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/indiandotnet.wordpress.com/601/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/indiandotnet.wordpress.com/601/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/indiandotnet.wordpress.com/601/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/indiandotnet.wordpress.com/601/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/indiandotnet.wordpress.com/601/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/indiandotnet.wordpress.com/601/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/indiandotnet.wordpress.com/601/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/indiandotnet.wordpress.com/601/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/indiandotnet.wordpress.com/601/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/indiandotnet.wordpress.com/601/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/indiandotnet.wordpress.com/601/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/indiandotnet.wordpress.com/601/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/indiandotnet.wordpress.com/601/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=indiandotnet.wordpress.com&amp;blog=4702332&amp;post=601&amp;subd=indiandotnet&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://indiandotnet.wordpress.com/2012/01/09/ajaxminifier-a-tool-for-website-performance-enhancement/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8572b18e87360e701f31fa6a494e0ea9?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Raj from india</media:title>
		</media:content>

		<media:content url="http://indiandotnet.files.wordpress.com/2012/01/ajaxmini1.png?w=300" medium="image">
			<media:title type="html">AjaxMini1</media:title>
		</media:content>

		<media:content url="http://indiandotnet.files.wordpress.com/2012/01/ajaxmini2.png?w=300" medium="image">
			<media:title type="html">ajaxmini2</media:title>
		</media:content>

		<media:content url="http://indiandotnet.files.wordpress.com/2012/01/ajaxminisize.png?w=300" medium="image">
			<media:title type="html">ajaxminiSize</media:title>
		</media:content>
	</item>
		<item>
		<title>Happy New year 2012</title>
		<link>http://indiandotnet.wordpress.com/2011/12/31/happy-new-year-2012/</link>
		<comments>http://indiandotnet.wordpress.com/2011/12/31/happy-new-year-2012/#comments</comments>
		<pubDate>Sat, 31 Dec 2011 18:41:49 +0000</pubDate>
		<dc:creator>indiandotnet</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Rajat]]></category>
		<category><![CDATA[Rajat Jaiswal]]></category>

		<guid isPermaLink="false">http://indiandotnet.wordpress.com/?p=596</guid>
		<description><![CDATA[Dear All, Happy New Year to you and your family.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=indiandotnet.wordpress.com&amp;blog=4702332&amp;post=596&amp;subd=indiandotnet&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><strong>Dear All,<br />
Happy New Year to you and your family.</strong></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/indiandotnet.wordpress.com/596/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/indiandotnet.wordpress.com/596/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/indiandotnet.wordpress.com/596/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/indiandotnet.wordpress.com/596/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/indiandotnet.wordpress.com/596/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/indiandotnet.wordpress.com/596/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/indiandotnet.wordpress.com/596/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/indiandotnet.wordpress.com/596/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/indiandotnet.wordpress.com/596/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/indiandotnet.wordpress.com/596/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/indiandotnet.wordpress.com/596/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/indiandotnet.wordpress.com/596/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/indiandotnet.wordpress.com/596/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/indiandotnet.wordpress.com/596/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=indiandotnet.wordpress.com&amp;blog=4702332&amp;post=596&amp;subd=indiandotnet&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://indiandotnet.wordpress.com/2011/12/31/happy-new-year-2012/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8572b18e87360e701f31fa6a494e0ea9?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Raj from india</media:title>
		</media:content>
	</item>
		<item>
		<title>New function in DENALI SQL SERVER 2012 (CHOOSE)</title>
		<link>http://indiandotnet.wordpress.com/2011/12/28/new-functions-in-sql-server-2012-denali-choose/</link>
		<comments>http://indiandotnet.wordpress.com/2011/12/28/new-functions-in-sql-server-2012-denali-choose/#comments</comments>
		<pubDate>Wed, 28 Dec 2011 20:53:01 +0000</pubDate>
		<dc:creator>indiandotnet</dc:creator>
				<category><![CDATA[DENALI]]></category>
		<category><![CDATA[Sql server]]></category>
		<category><![CDATA[Rajat Jaiswal]]></category>

		<guid isPermaLink="false">http://indiandotnet.wordpress.com/?p=591</guid>
		<description><![CDATA[Hello friends, This is another post related to new functions in DENALI (SQL SERVER 2012). So today I am going to discuss “CHOOSE” functions .By the name it is clear that it will choose value. In a simple sentence you can say it array which give value according to index parameter. Its syntax is very [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=indiandotnet.wordpress.com&amp;blog=4702332&amp;post=591&amp;subd=indiandotnet&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Hello friends,</p>
<p>This is another post related to new functions in <strong>DENALI (SQL SERVER 2012).</strong></p>
<p>So today I am going to discuss <strong>“CHOOSE”</strong> functions .By the name it is clear that it will choose value.</p>
<p>In a simple sentence you can say it <strong>array which give value according to index</strong> parameter.</p>
<p>Its syntax is very simple.</p>
<p><strong>CHOOSE (VALUE,CHOICE1, CHOICE2….CHOICEN)</strong></p>
<p>Below is example.</p>
<p>&nbsp;</p>
<p>In the example we are passing month value in CHOOSE function and according to value it provide corresponding string value of month.</p>
<p>&nbsp;<br />
<code><br />
DECLARE @tblFriends AS TABLE  (Prefix VARCHAR(10) ,<br />
                               Fname VARCHAR(200),<br />
                               LName VARCHAR(100),<br />
							   DOB   SMALLDATETIME)</p>
<p>INSERT INTO @tblFriends(Prefix,Fname,LName,DOB) VALUES('DR','Ravindra','Verma','1/1/1981')<br />
INSERT INTO @tblFriends(Prefix,Fname,LName,DOB) VALUES('Mr','Rajul','Verma','3/3/1981')<br />
INSERT INTO @tblFriends(Prefix,Fname,LName,DOB) VALUES('Sir','Suyash','Kokje','4/4/1981')<br />
INSERT INTO @tblFriends(Prefix,Fname,LName,DOB) VALUES('Sardar','Ravindra','Dhariwal','2/2/1981')<br />
INSERT INTO @tblFriends(Prefix,Fname,LName,DOB) VALUES('Pandit','Shyam','Purohit','5/5/1981')<br />
INSERT INTO @tblFriends(Fname,LName,DOB) VALUES('Shrikant','Yadav','6/6/1981')<br />
INSERT INTO @tblFriends(Fname,LName,DOB) VALUES('Sawan','Gupta','7/7/1981')<br />
INSERT INTO @tblFriends(Fname,LName,DOB) VALUES('Pankaj','Tomar','8/8/1981')<br />
INSERT INTO @tblFriends(Fname,LName,DOB) VALUES('Vaibhav','Joshi','9/9/1981')<br />
INSERT INTO @tblFriends(Fname,LName,DOB) VALUES('Vikram','Chouhan','10/10/1981')<br />
INSERT INTO @tblFriends(Fname,LName,DOB) VALUES('Subhash','Patidar','11/11/1981')<br />
INSERT INTO @tblFriends(Fname,LName,DOB) VALUES('Vinay','Karma','12/12/1981')</p>
<p>SELECT CONCAT(Prefix,' ' ,FName, ' ',LName) AS ConcatName,<br />
CHOOSE (datePart(m,DOB),'JAN','FEB','MAR','APR','MAY','JUN','JUL','AUG','SEP','OCT','NOV','DEC') AS DOBMONTH<br />
FROM @tblFriends<br />
</code><br />
so when you execute this script you will get following result.</p>
<p>I hope you enjoyed learning this.<br />
<code><b><br />
ConcatName	DOBMONTH<br />
DR Ravindra Verma	JAN<br />
Mr Rajul Verma	MAR<br />
Sir Suyash Kokje	APR<br />
Sardar Ravindra Dhariwal	FEB<br />
Pandit Shyam Purohit	MAY<br />
 Shrikant Yadav	JUN<br />
 Sawan Gupta	JUL<br />
 Pankaj Tomar	AUG<br />
 Vaibhav Joshi	SEP<br />
 Vikram Chouhan	OCT<br />
 Subhash Patidar	NOV<br />
 Vinay Karma	DEC</b></code><br />
You can view previous post related with this at<br />
<a href="http://indiandotnet.wordpress.com/2011/12/28/new-functions-in-sql-server-2012-denali-concat/" title="http://indiandotnet.wordpress.com/2011/12/28/new-functions-in-sql-server-2012-denali-concat/" target="_blank"></a></p>
<p>Thanks</p>
<p>Rajat Jaiswal</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/indiandotnet.wordpress.com/591/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/indiandotnet.wordpress.com/591/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/indiandotnet.wordpress.com/591/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/indiandotnet.wordpress.com/591/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/indiandotnet.wordpress.com/591/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/indiandotnet.wordpress.com/591/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/indiandotnet.wordpress.com/591/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/indiandotnet.wordpress.com/591/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/indiandotnet.wordpress.com/591/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/indiandotnet.wordpress.com/591/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/indiandotnet.wordpress.com/591/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/indiandotnet.wordpress.com/591/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/indiandotnet.wordpress.com/591/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/indiandotnet.wordpress.com/591/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=indiandotnet.wordpress.com&amp;blog=4702332&amp;post=591&amp;subd=indiandotnet&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://indiandotnet.wordpress.com/2011/12/28/new-functions-in-sql-server-2012-denali-choose/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8572b18e87360e701f31fa6a494e0ea9?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Raj from india</media:title>
		</media:content>
	</item>
		<item>
		<title>New Functions in SQL SERVER 2012 ,DENALI (CONCAT)</title>
		<link>http://indiandotnet.wordpress.com/2011/12/28/new-functions-in-sql-server-2012-denali-concat/</link>
		<comments>http://indiandotnet.wordpress.com/2011/12/28/new-functions-in-sql-server-2012-denali-concat/#comments</comments>
		<pubDate>Wed, 28 Dec 2011 20:21:24 +0000</pubDate>
		<dc:creator>indiandotnet</dc:creator>
				<category><![CDATA[DENALI]]></category>
		<category><![CDATA[Sql server]]></category>
		<category><![CDATA[Rajat Jaiswal]]></category>

		<guid isPermaLink="false">http://indiandotnet.wordpress.com/?p=587</guid>
		<description><![CDATA[Hello friends, This is another post related to new functions in DENALI (SQL SERVER 2012). So today I am going to discuss “CONCAT” functions .By the name it is clear that it has concatenation property. Its syntax is very simple. CONCAT (string1, string2….StringN) The best part is it handles NULL value also we don’t have [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=indiandotnet.wordpress.com&amp;blog=4702332&amp;post=587&amp;subd=indiandotnet&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Hello friends,<br />
This is another post related to new functions in<strong> DENALI (SQL SERVER 2012).</strong><br />
So today I am going to discuss<strong> “CONCAT” functions</strong> .By the name it is clear that it has concatenation property.</p>
<p>Its syntax is very simple.<br />
<strong>CONCAT (string1, string2….StringN)</strong><br />
The best part is it handles NULL value also we don’t have to work on NULL value explicitly.<br />
Below is example.<br />
<code>DECLARE @tblFriends AS TABLE (Prefix VARCHAR(10) ,<br />
Fname VARCHAR(200),<br />
LName VARCHAR(100),<br />
DOB SMALLDATETIME)</code></p>
<p>INSERT INTO @tblFriends(Prefix,Fname,LName,DOB) VALUES(&#8216;DR&#8217;,'Ravindra&#8217;,'Verma&#8217;,&#8217;1/1/1981&#8242;)<br />
INSERT INTO @tblFriends(Prefix,Fname,LName,DOB) VALUES(&#8216;Mr&#8217;,'Rajul&#8217;,'Verma&#8217;,&#8217;3/3/1981&#8242;)<br />
INSERT INTO @tblFriends(Prefix,Fname,LName,DOB) VALUES(&#8216;Sir&#8217;,'Suyash&#8217;,'Kokje&#8217;,&#8217;4/4/1981&#8242;)<br />
INSERT INTO @tblFriends(Prefix,Fname,LName,DOB) VALUES(&#8216;Sardar&#8217;,'Ravindra&#8217;,'Dhariwal&#8217;,&#8217;2/2/1981&#8242;)<br />
INSERT INTO @tblFriends(Prefix,Fname,LName,DOB) VALUES(&#8216;Pandit&#8217;,'Shyam&#8217;,'Purohit&#8217;,&#8217;5/5/1981&#8242;)<br />
INSERT INTO @tblFriends(Fname,LName,DOB) VALUES(&#8216;Shrikant&#8217;,'Yadav&#8217;,&#8217;6/6/1981&#8242;)<br />
INSERT INTO @tblFriends(Fname,LName,DOB) VALUES(&#8216;Sawan&#8217;,'Gupta&#8217;,&#8217;7/7/1981&#8242;)<br />
INSERT INTO @tblFriends(Fname,LName,DOB) VALUES(&#8216;Pankaj&#8217;,'Tomar&#8217;,&#8217;8/8/1981&#8242;)<br />
INSERT INTO @tblFriends(Fname,LName,DOB) VALUES(&#8216;Vaibhav&#8217;,'Joshi&#8217;,&#8217;9/9/1981&#8242;)<br />
INSERT INTO @tblFriends(Fname,LName,DOB) VALUES(&#8216;Vikram&#8217;,'Chouhan&#8217;,&#8217;10/10/1981&#8242;)<br />
INSERT INTO @tblFriends(Fname,LName,DOB) VALUES(&#8216;Subhash&#8217;,'Patidar&#8217;,&#8217;11/11/1981&#8242;)<br />
INSERT INTO @tblFriends(Fname,LName,DOB) VALUES(&#8216;Vinay&#8217;,'Karma&#8217;,&#8217;12/12/1981&#8242;)</p>
<p>SELECT CONCAT(Prefix,&#8217; &#8216; ,FName, &#8216; &#8216;,LName) AS ConcatName<br />
FROM @tblFriends</p>
<p>When you run the above script you will get following resultset.<br />
 <code><strong><br />
ConcatName<br />
DR Ravindra Verma<br />
Mr Rajul Verma<br />
Sir Suyash Kokje<br />
Sardar Ravindra Dhariwal<br />
Pandit Shyam Purohit<br />
Shrikant Yadav<br />
Sawan Gupta<br />
Pankaj Tomar<br />
Vaibhav Joshi<br />
Vikram Chouhan<br />
Subhash Patidar<br />
Vinay Karma<br />
</strong><code><br />
I hope you enjoyed learning this.<br />
You can view previous post related with this at <a href="http://indiandotnet.wordpress.com/2011/12/23/new-function-in-sql-server-denali-iif/">http://indiandotnet.wordpress.com/2011/12/23/new-function-in-sql-server-denali-iif/<br />
</a></code></code></p>
<p>Thanks<br />
Rajat Jaiswal</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/indiandotnet.wordpress.com/587/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/indiandotnet.wordpress.com/587/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/indiandotnet.wordpress.com/587/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/indiandotnet.wordpress.com/587/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/indiandotnet.wordpress.com/587/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/indiandotnet.wordpress.com/587/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/indiandotnet.wordpress.com/587/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/indiandotnet.wordpress.com/587/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/indiandotnet.wordpress.com/587/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/indiandotnet.wordpress.com/587/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/indiandotnet.wordpress.com/587/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/indiandotnet.wordpress.com/587/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/indiandotnet.wordpress.com/587/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/indiandotnet.wordpress.com/587/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=indiandotnet.wordpress.com&amp;blog=4702332&amp;post=587&amp;subd=indiandotnet&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://indiandotnet.wordpress.com/2011/12/28/new-functions-in-sql-server-2012-denali-concat/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8572b18e87360e701f31fa6a494e0ea9?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Raj from india</media:title>
		</media:content>
	</item>
		<item>
		<title>A new milestone 125th post on Indiandotnet.wordpress.com  so far so good</title>
		<link>http://indiandotnet.wordpress.com/2011/12/24/a-new-milestone-125th-post-on-indiandotnet-wordpress-com-so-far-so-good/</link>
		<comments>http://indiandotnet.wordpress.com/2011/12/24/a-new-milestone-125th-post-on-indiandotnet-wordpress-com-so-far-so-good/#comments</comments>
		<pubDate>Sat, 24 Dec 2011 19:34:17 +0000</pubDate>
		<dc:creator>indiandotnet</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Asp.net]]></category>
		<category><![CDATA[Sql server]]></category>
		<category><![CDATA[ajax]]></category>
		<category><![CDATA[Silverlight]]></category>
		<category><![CDATA[JUERY]]></category>
		<category><![CDATA[LINQ]]></category>
		<category><![CDATA[XML]]></category>
		<category><![CDATA[Serialization]]></category>
		<category><![CDATA[Ado.net Data Services]]></category>
		<category><![CDATA[Astoria]]></category>
		<category><![CDATA[MVC]]></category>
		<category><![CDATA[WCF]]></category>
		<category><![CDATA[WPF]]></category>
		<category><![CDATA[SSIS]]></category>
		<category><![CDATA[Windows Mobile Phone 7]]></category>
		<category><![CDATA[SSRS]]></category>
		<category><![CDATA[Utility]]></category>
		<category><![CDATA[DENALI]]></category>
		<category><![CDATA[Rajat]]></category>
		<category><![CDATA[Rajat Jaiswal]]></category>

		<guid isPermaLink="false">http://indiandotnet.wordpress.com/?p=585</guid>
		<description><![CDATA[Dear Friends, This post is different post from my regular technical articles and it is my 125th post on Indiandotnet.wordpress.com. I would like to thank all of my friends, family members, colleges &#38; most valuable the reader of this blog who continuously giving feedback and improving my skill also. So thank you very very much. [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=indiandotnet.wordpress.com&amp;blog=4702332&amp;post=585&amp;subd=indiandotnet&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Dear Friends,<br />
This post is different post from my regular technical articles and it is my <strong>125th post</strong> on <strong>Indiandotnet.wordpress.com</strong>.</p>
<p>I would like to thank all of <strong>my friends, family members, colleges &amp; most valuable the reader of this blog</strong> who continuously giving feedback and improving my skill also.<br />
<strong>So thank you very very much.</strong><br />
Keep reading, Keep commenting, and keep giving feedback.<br />
I need more improvement and I know you people will help me in sharing my thoughts.<br />
<strong>God bless you all.</strong></p>
<p><strong></strong><br />
<strong>Happy Holidays.</strong></p>
<p><strong></strong><br />
<strong>Merry Christmas.</strong><br />
Thanks<br />
Rajat Jaiswal</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/indiandotnet.wordpress.com/585/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/indiandotnet.wordpress.com/585/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/indiandotnet.wordpress.com/585/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/indiandotnet.wordpress.com/585/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/indiandotnet.wordpress.com/585/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/indiandotnet.wordpress.com/585/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/indiandotnet.wordpress.com/585/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/indiandotnet.wordpress.com/585/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/indiandotnet.wordpress.com/585/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/indiandotnet.wordpress.com/585/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/indiandotnet.wordpress.com/585/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/indiandotnet.wordpress.com/585/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/indiandotnet.wordpress.com/585/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/indiandotnet.wordpress.com/585/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=indiandotnet.wordpress.com&amp;blog=4702332&amp;post=585&amp;subd=indiandotnet&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://indiandotnet.wordpress.com/2011/12/24/a-new-milestone-125th-post-on-indiandotnet-wordpress-com-so-far-so-good/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8572b18e87360e701f31fa6a494e0ea9?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Raj from india</media:title>
		</media:content>
	</item>
		<item>
		<title>Unable to Login SQL SERVER forgot password</title>
		<link>http://indiandotnet.wordpress.com/2011/12/24/unable-to-login-sql-server-forgot-password/</link>
		<comments>http://indiandotnet.wordpress.com/2011/12/24/unable-to-login-sql-server-forgot-password/#comments</comments>
		<pubDate>Sat, 24 Dec 2011 19:19:41 +0000</pubDate>
		<dc:creator>indiandotnet</dc:creator>
				<category><![CDATA[DENALI]]></category>
		<category><![CDATA[Sql server]]></category>
		<category><![CDATA[Rajat]]></category>

		<guid isPermaLink="false">http://indiandotnet.wordpress.com/?p=580</guid>
		<description><![CDATA[Hello Friends, I have an interesting thing to share.  Just day before yesterday I forgot my Denali server password &#38; server not having windows Authentication.  I am unable to login to the server.  So I just tried a trick and it worked successfully. I just open the service account of SQL SERVER and change its [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=indiandotnet.wordpress.com&amp;blog=4702332&amp;post=580&amp;subd=indiandotnet&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Hello Friends,<br />
I have an interesting thing to share.</p>
<p> Just day before yesterday I forgot my<strong> Denali server</strong> password &amp; server not having windows Authentication.</p>
<p><strong> I am unable to login to the server</strong>.  So I just tried a trick and it worked successfully.<br />
I just open the service account of <strong>SQL SERVER</strong> and change its login to <strong>Local System Account</strong> as shown in below fig.<br />
And this trick worked successfully and now <strong>I can login using windows account</strong>.</p>
<p><a href="http://indiandotnet.files.wordpress.com/2011/12/denali_service_login.png"><img class="alignnone size-medium wp-image-581" title="Denali_Service_Login" src="http://indiandotnet.files.wordpress.com/2011/12/denali_service_login.png?w=300&#038;h=234" alt="" width="300" height="234" /></a><br />
I hope this will help to you also if by chance you <strong>forgot your password</strong> to and same situation exists.</p>
<p>Thanks<br />
Rajat Jaiswal</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/indiandotnet.wordpress.com/580/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/indiandotnet.wordpress.com/580/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/indiandotnet.wordpress.com/580/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/indiandotnet.wordpress.com/580/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/indiandotnet.wordpress.com/580/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/indiandotnet.wordpress.com/580/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/indiandotnet.wordpress.com/580/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/indiandotnet.wordpress.com/580/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/indiandotnet.wordpress.com/580/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/indiandotnet.wordpress.com/580/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/indiandotnet.wordpress.com/580/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/indiandotnet.wordpress.com/580/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/indiandotnet.wordpress.com/580/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/indiandotnet.wordpress.com/580/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=indiandotnet.wordpress.com&amp;blog=4702332&amp;post=580&amp;subd=indiandotnet&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://indiandotnet.wordpress.com/2011/12/24/unable-to-login-sql-server-forgot-password/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8572b18e87360e701f31fa6a494e0ea9?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Raj from india</media:title>
		</media:content>

		<media:content url="http://indiandotnet.files.wordpress.com/2011/12/denali_service_login.png?w=300" medium="image">
			<media:title type="html">Denali_Service_Login</media:title>
		</media:content>
	</item>
		<item>
		<title>New function in SQL SERVER DENALI (IIF)</title>
		<link>http://indiandotnet.wordpress.com/2011/12/23/new-function-in-sql-server-denali-iif/</link>
		<comments>http://indiandotnet.wordpress.com/2011/12/23/new-function-in-sql-server-denali-iif/#comments</comments>
		<pubDate>Fri, 23 Dec 2011 21:50:22 +0000</pubDate>
		<dc:creator>indiandotnet</dc:creator>
				<category><![CDATA[DENALI]]></category>
		<category><![CDATA[Sql server]]></category>
		<category><![CDATA[Rajat Jaiswal]]></category>
		<category><![CDATA[Sqlserver]]></category>

		<guid isPermaLink="false">http://indiandotnet.wordpress.com/?p=578</guid>
		<description><![CDATA[Hello friends, As a continuation of Denali exploration series (http://indiandotnet.wordpress.com/2011/09/23/see-beyond-the-sql-server-2005-latest-version-of-sql-server-denali/ ) I would like to share some new functions also here. I am sure you like shorthand function “IIF”. Denali now providing IIF function so Instead of writing CASE statement you can easily use IIF function.  Its syntax is same as we doing in our [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=indiandotnet.wordpress.com&amp;blog=4702332&amp;post=578&amp;subd=indiandotnet&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Hello friends,</p>
<p>As a continuation of <strong>Denali</strong> exploration series</p>
<p>(<a href="http://indiandotnet.wordpress.com/2011/09/23/see-beyond-the-sql-server-2005-latest-version-of-sql-server-denali/">http://indiandotnet.wordpress.com/2011/09/23/see-beyond-the-sql-server-2005-latest-version-of-sql-server-denali/</a> )</p>
<p>I would like to share some new functions also here. I am sure you like shorthand function<strong> “IIF”.</strong> <strong>Denali now providing IIF function</strong> so Instead of writing CASE statement you can easily use IIF function.</p>
<p> Its syntax is same as we doing in our other programming language.</p>
<p><strong> IIF (Condition, true value, false value)</strong></p>
<p> Example:-</p>
<p><code>DECLARE @genderMale AS BIT<br />
 SET @genderMale = 1 -- where SELECT IIF (@genderMale = 1,’ Smart’, ‘Beautiful’) as property</code></p>
<p>&nbsp;</p>
<p>I hope you will use it soon.<br />
<strong>Happy Holidays!!!!</strong></p>
<p><strong></strong><br />
<strong>Thanks</strong><br />
<strong>Rajat Jaiswal</strong></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/indiandotnet.wordpress.com/578/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/indiandotnet.wordpress.com/578/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/indiandotnet.wordpress.com/578/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/indiandotnet.wordpress.com/578/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/indiandotnet.wordpress.com/578/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/indiandotnet.wordpress.com/578/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/indiandotnet.wordpress.com/578/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/indiandotnet.wordpress.com/578/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/indiandotnet.wordpress.com/578/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/indiandotnet.wordpress.com/578/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/indiandotnet.wordpress.com/578/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/indiandotnet.wordpress.com/578/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/indiandotnet.wordpress.com/578/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/indiandotnet.wordpress.com/578/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=indiandotnet.wordpress.com&amp;blog=4702332&amp;post=578&amp;subd=indiandotnet&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://indiandotnet.wordpress.com/2011/12/23/new-function-in-sql-server-denali-iif/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8572b18e87360e701f31fa6a494e0ea9?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Raj from india</media:title>
		</media:content>
	</item>
		<item>
		<title>Simplest way of providing Comma seperated column values in SQL SERVER</title>
		<link>http://indiandotnet.wordpress.com/2011/12/22/simplest-way-of-providing-comma-seperated-column-values-in-sql-server/</link>
		<comments>http://indiandotnet.wordpress.com/2011/12/22/simplest-way-of-providing-comma-seperated-column-values-in-sql-server/#comments</comments>
		<pubDate>Thu, 22 Dec 2011 20:03:59 +0000</pubDate>
		<dc:creator>indiandotnet</dc:creator>
				<category><![CDATA[DENALI]]></category>
		<category><![CDATA[Sql server]]></category>
		<category><![CDATA[CSV]]></category>
		<category><![CDATA[Rajat]]></category>
		<category><![CDATA[XML PATH]]></category>

		<guid isPermaLink="false">http://indiandotnet.wordpress.com/?p=569</guid>
		<description><![CDATA[Hello friends, Most of the time we require comma separated value of a column according to some relation. The simplest way of this to create a user define function and create a comma separated value according to their respective other relation value. Just understand with below example. Suppose we have a normalize database design in [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=indiandotnet.wordpress.com&amp;blog=4702332&amp;post=569&amp;subd=indiandotnet&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Hello friends,<br />
Most of the time we require <strong>comma separated value</strong> of a column according to some relation.<br />
The simplest way of this to create a<strong> user define function</strong> and create a comma separated value according to their respective other relation value.<br />
Just understand with below example.<br />
Suppose we have a <strong>normalize database</strong> design in which we have two table<br />
1. State: &#8211; State Master is table which contains State of India. And it has following columns<br />
a) StateId (Auto incremental value)<br />
b) Name (State Name)<br />
2. City: &#8211; Which contain cities of States according to their respective relation. It has following columns<br />
a) CityId ( Auto incremental Id)<br />
b) StateId (Reference of State table Id<br />
c) City name<br />
Please take a look on below fig with some value of city and state</p>
<p><a href="http://indiandotnet.files.wordpress.com/2011/12/state_and_city_table.png"><img class="alignnone size-medium wp-image-570" title="State_AND_CITY_TABLE" src="http://indiandotnet.files.wordpress.com/2011/12/state_and_city_table.png?w=300&#038;h=287" alt="" width="300" height="287" /></a></p>
<p>Now suppose we require following result</p>
<p><a href="http://indiandotnet.files.wordpress.com/2011/12/result_from_xml.png"><img class="alignnone size-medium wp-image-571" title="result_FROM_XML" src="http://indiandotnet.files.wordpress.com/2011/12/result_from_xml.png?w=300&#038;h=44" alt="" width="300" height="44" /></a></p>
<p>Then we are going to use here a simple operator which is “FOR XML Path(‘’)” option so below is use of XML path.<br />
Please run the below query for desire result.</p>
<p><code><br />
DECLARE @StateCities AS TABLE (StateId INT,<br />
StateName VARCHAR(500),<br />
Cities VARCHAR(5000))</code></p>
<p>INSERT INTO @StateCities(StateId,StateName )<br />
SELECT StateId,StateName<br />
FROM State</p>
<p>UPDATE tmp<br />
SET Cities = (SELECT c.CityName + &#8216;,&#8217;<br />
FROM dbo.City c<br />
WHERE c.StateId = tmp.StateId<br />
ORDER BY c.CityName<br />
FOR XML PATH (&#8221;))<br />
FROM @StateCities tmp</p>
<p>SELECT * FROM @StateCities WHERE Cities IS NOT NULL<br />
.<br />
I hope it would help you.</p>
<p>Happy  Holidays <br />
Thanks &amp; best regards,<br />
Rajat Jaiswal</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/indiandotnet.wordpress.com/569/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/indiandotnet.wordpress.com/569/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/indiandotnet.wordpress.com/569/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/indiandotnet.wordpress.com/569/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/indiandotnet.wordpress.com/569/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/indiandotnet.wordpress.com/569/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/indiandotnet.wordpress.com/569/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/indiandotnet.wordpress.com/569/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/indiandotnet.wordpress.com/569/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/indiandotnet.wordpress.com/569/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/indiandotnet.wordpress.com/569/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/indiandotnet.wordpress.com/569/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/indiandotnet.wordpress.com/569/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/indiandotnet.wordpress.com/569/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=indiandotnet.wordpress.com&amp;blog=4702332&amp;post=569&amp;subd=indiandotnet&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://indiandotnet.wordpress.com/2011/12/22/simplest-way-of-providing-comma-seperated-column-values-in-sql-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8572b18e87360e701f31fa6a494e0ea9?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Raj from india</media:title>
		</media:content>

		<media:content url="http://indiandotnet.files.wordpress.com/2011/12/state_and_city_table.png?w=300" medium="image">
			<media:title type="html">State_AND_CITY_TABLE</media:title>
		</media:content>

		<media:content url="http://indiandotnet.files.wordpress.com/2011/12/result_from_xml.png?w=300" medium="image">
			<media:title type="html">result_FROM_XML</media:title>
		</media:content>
	</item>
		<item>
		<title>Paging easy in &#8220;DENALI&#8221; (OFFSET &amp; FETCH OPTION)</title>
		<link>http://indiandotnet.wordpress.com/2011/12/12/paging-easy-in-denali-offset-fetch-option/</link>
		<comments>http://indiandotnet.wordpress.com/2011/12/12/paging-easy-in-denali-offset-fetch-option/#comments</comments>
		<pubDate>Mon, 12 Dec 2011 01:37:45 +0000</pubDate>
		<dc:creator>indiandotnet</dc:creator>
				<category><![CDATA[DENALI]]></category>
		<category><![CDATA[Sql server]]></category>
		<category><![CDATA[Paging]]></category>

		<guid isPermaLink="false">http://indiandotnet.wordpress.com/?p=565</guid>
		<description><![CDATA[Hello friends, Let’s talk today one more important clause of “DENALI” which is very helpful in fetching records, paging are “OFFSET” &#38; “FETCH”. It is helpful in performance improvement also. Just go through below example and it will clear more Suppose I have state table which have all the state rows of INDIA. Now with [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=indiandotnet.wordpress.com&amp;blog=4702332&amp;post=565&amp;subd=indiandotnet&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Hello friends,<br />
Let’s talk today one more important clause of<strong> “DENALI”</strong> which is very helpful in fetching records, paging are <strong>“OFFSET” &amp; “FETCH”.</strong><br />
It is helpful in <strong>performance improvement</strong> also.<br />
Just go through below example and it will clear more<br />
Suppose I have state table which have all the state rows of INDIA.</p>
<p><a href="http://indiandotnet.files.wordpress.com/2011/12/indiandotnet_denali_offset_clause.png"><img class="alignnone size-medium wp-image-566" title="INDIANDOTNET_DENALI_OFFSET_CLAUSE" src="http://indiandotnet.files.wordpress.com/2011/12/indiandotnet_denali_offset_clause.png?w=300&#038;h=229" alt="" width="300" height="229" /></a><br />
Now with offset clause I can say from where I can start row fetching and FETCH NEXT will give me option how many rows I want.<br />
So suppose I want 5 records after and skip first 2 rows then see below SQL statement<br />
SELECT * FROM state ORDER BY StateName OFFSET 2 ROWS FETCH NEXT FROM 5 ROWS ONLY</p>
<p><a href="http://indiandotnet.files.wordpress.com/2011/12/indiandotnet_denali_offset_fetch.png"><img class="alignnone size-medium wp-image-567" title="INDIANDOTNET_DENALI_OFFSET_FETCH" src="http://indiandotnet.files.wordpress.com/2011/12/indiandotnet_denali_offset_fetch.png?w=300&#038;h=112" alt="" width="300" height="112" /></a><br />
Hope you enjoyed it and will use sooner or later.<br />
Thanks &amp; Regards<br />
Rajat Jaiswal</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/indiandotnet.wordpress.com/565/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/indiandotnet.wordpress.com/565/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/indiandotnet.wordpress.com/565/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/indiandotnet.wordpress.com/565/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/indiandotnet.wordpress.com/565/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/indiandotnet.wordpress.com/565/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/indiandotnet.wordpress.com/565/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/indiandotnet.wordpress.com/565/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/indiandotnet.wordpress.com/565/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/indiandotnet.wordpress.com/565/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/indiandotnet.wordpress.com/565/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/indiandotnet.wordpress.com/565/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/indiandotnet.wordpress.com/565/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/indiandotnet.wordpress.com/565/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=indiandotnet.wordpress.com&amp;blog=4702332&amp;post=565&amp;subd=indiandotnet&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://indiandotnet.wordpress.com/2011/12/12/paging-easy-in-denali-offset-fetch-option/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8572b18e87360e701f31fa6a494e0ea9?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Raj from india</media:title>
		</media:content>

		<media:content url="http://indiandotnet.files.wordpress.com/2011/12/indiandotnet_denali_offset_clause.png?w=300" medium="image">
			<media:title type="html">INDIANDOTNET_DENALI_OFFSET_CLAUSE</media:title>
		</media:content>

		<media:content url="http://indiandotnet.files.wordpress.com/2011/12/indiandotnet_denali_offset_fetch.png?w=300" medium="image">
			<media:title type="html">INDIANDOTNET_DENALI_OFFSET_FETCH</media:title>
		</media:content>
	</item>
	</channel>
</rss>
