<?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>Welcome to ShanthaKumar's Blog</title>
	<atom:link href="http://ktskumar.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://ktskumar.wordpress.com</link>
	<description>SharePoint, Silverlight &#38; More.............</description>
	<lastBuildDate>Wed, 25 Jan 2012 18:51:29 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='ktskumar.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://1.gravatar.com/blavatar/bff1fed423bfd81b9054433d155a5a6f?s=96&#038;d=http%3A%2F%2Fs2.wp.com%2Fi%2Fbuttonw-com.png</url>
		<title>Welcome to ShanthaKumar's Blog</title>
		<link>http://ktskumar.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://ktskumar.wordpress.com/osd.xml" title="Welcome to ShanthaKumar&#039;s Blog" />
	<atom:link rel='hub' href='http://ktskumar.wordpress.com/?pushpress=hub'/>
		<item>
		<title>2011 in review</title>
		<link>http://ktskumar.wordpress.com/2012/01/26/2011-in-review/</link>
		<comments>http://ktskumar.wordpress.com/2012/01/26/2011-in-review/#comments</comments>
		<pubDate>Wed, 25 Jan 2012 18:51:27 +0000</pubDate>
		<dc:creator>Shantham</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://ktskumar.wordpress.com/?p=215</guid>
		<description><![CDATA[The WordPress.com stats helper monkeys prepared a 2011 annual report for this blog. Here&#8217;s an excerpt: The concert hall at the Sydney Opera House holds 2,700 people. This blog was viewed about 36,000 times in 2011. If it were a concert at Sydney Opera House, it would take about 13 sold-out performances for that many [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ktskumar.wordpress.com&amp;blog=1309265&amp;post=215&amp;subd=ktskumar&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>The WordPress.com stats helper monkeys prepared a 2011 annual report for this blog.</p>
<p><a href="http://ktskumar.wordpress.com/2011/annual-report/"><img src="http://www.wordpress.com/wp-content/mu-plugins/annual-reports/img/emailteaser.jpg" alt="" width="100%" /></a></p>
<p>Here&#8217;s an excerpt:</p>
<blockquote><p>The concert hall at the Sydney Opera House holds 2,700 people. This blog was viewed about <strong>36,000</strong> times in 2011. If it were a concert at Sydney Opera House, it would take about 13 sold-out performances for that many people to see it.</p></blockquote>
<p><a href="http://ktskumar.wordpress.com/2011/annual-report/">Click here to see the complete report.</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ktskumar.wordpress.com/215/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ktskumar.wordpress.com/215/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ktskumar.wordpress.com/215/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ktskumar.wordpress.com/215/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ktskumar.wordpress.com/215/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ktskumar.wordpress.com/215/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ktskumar.wordpress.com/215/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ktskumar.wordpress.com/215/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ktskumar.wordpress.com/215/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ktskumar.wordpress.com/215/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ktskumar.wordpress.com/215/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ktskumar.wordpress.com/215/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ktskumar.wordpress.com/215/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ktskumar.wordpress.com/215/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ktskumar.wordpress.com&amp;blog=1309265&amp;post=215&amp;subd=ktskumar&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ktskumar.wordpress.com/2012/01/26/2011-in-review/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/47c16718ab06dbaea914e66d9374697f?s=96&#38;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96" medium="image">
			<media:title type="html">ktskumar</media:title>
		</media:content>

		<media:content url="http://www.wordpress.com/wp-content/mu-plugins/annual-reports/img/emailteaser.jpg" medium="image" />
	</item>
		<item>
		<title>Microsoft Community Contributor Award &#8211; 2011</title>
		<link>http://ktskumar.wordpress.com/2011/05/01/microsoft-community-contributor-award-2011/</link>
		<comments>http://ktskumar.wordpress.com/2011/05/01/microsoft-community-contributor-award-2011/#comments</comments>
		<pubDate>Sun, 01 May 2011 02:30:31 +0000</pubDate>
		<dc:creator>Shantham</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[Certification]]></category>
		<category><![CDATA[Microsoft Community Contributor]]></category>

		<guid isPermaLink="false">http://ktskumar.wordpress.com/?p=206</guid>
		<description><![CDATA[I was surprised on Thursday morning, when I saw my inbox, which has the Microsoft Community Contributor award mail from Microsoft. I am very pleased and share this with you all that my community contributions are recognized by Microsoft. This was a very special surprise for me. Thanks Microsoft.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ktskumar.wordpress.com&amp;blog=1309265&amp;post=206&amp;subd=ktskumar&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I was surprised on Thursday morning, when I saw my inbox, which has the <strong>Microsoft Community Contributor</strong> award mail from Microsoft. I am very pleased and share this with you all that <strong>my community contributions are recognized by Microsoft</strong>.</p>
<p><a href="http://ktskumar.files.wordpress.com/2011/05/mcc_certficate.png"><img class="aligncenter size-full wp-image-208" title="Microsoft Community Contributor Award 2011 - Shantha Kumar .T" src="http://ktskumar.files.wordpress.com/2011/05/mcc_certficate.png?w=500&#038;h=388" alt="Microsoft Community Contributor Award 2011 - Shantha Kumar .T" width="500" height="388" /></a></p>
<p>This was a very special surprise for me. Thanks Microsoft.</p>
<p><a href="http://ktskumar.files.wordpress.com/2011/05/mcc11_logo_horizontal_full-color.png"><img class="aligncenter size-full wp-image-209" title="MCC Logo" src="http://ktskumar.files.wordpress.com/2011/05/mcc11_logo_horizontal_full-color.png?w=500" alt="MCC -2011 Logo"   /></a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ktskumar.wordpress.com/206/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ktskumar.wordpress.com/206/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ktskumar.wordpress.com/206/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ktskumar.wordpress.com/206/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ktskumar.wordpress.com/206/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ktskumar.wordpress.com/206/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ktskumar.wordpress.com/206/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ktskumar.wordpress.com/206/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ktskumar.wordpress.com/206/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ktskumar.wordpress.com/206/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ktskumar.wordpress.com/206/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ktskumar.wordpress.com/206/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ktskumar.wordpress.com/206/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ktskumar.wordpress.com/206/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ktskumar.wordpress.com&amp;blog=1309265&amp;post=206&amp;subd=ktskumar&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ktskumar.wordpress.com/2011/05/01/microsoft-community-contributor-award-2011/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/47c16718ab06dbaea914e66d9374697f?s=96&#38;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96" medium="image">
			<media:title type="html">ktskumar</media:title>
		</media:content>

		<media:content url="http://ktskumar.files.wordpress.com/2011/05/mcc_certficate.png" medium="image">
			<media:title type="html">Microsoft Community Contributor Award 2011 - Shantha Kumar .T</media:title>
		</media:content>

		<media:content url="http://ktskumar.files.wordpress.com/2011/05/mcc11_logo_horizontal_full-color.png" medium="image">
			<media:title type="html">MCC Logo</media:title>
		</media:content>
	</item>
		<item>
		<title>Updating SharePoint ListItems</title>
		<link>http://ktskumar.wordpress.com/2011/03/06/updating-sharepoint-listitems/</link>
		<comments>http://ktskumar.wordpress.com/2011/03/06/updating-sharepoint-listitems/#comments</comments>
		<pubDate>Sun, 06 Mar 2011 03:12:41 +0000</pubDate>
		<dc:creator>Shantham</dc:creator>
				<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[SPListItem]]></category>
		<category><![CDATA[SystemUpdate]]></category>
		<category><![CDATA[User Information List]]></category>

		<guid isPermaLink="false">http://ktskumar.wordpress.com/?p=201</guid>
		<description><![CDATA[There are two methods available to update the List Items on SPListItem Object. SPListItem.Update(); SPListItem.SystemUpdate(); SPListItem.Update() used to update all the values in SharePoint List Item including pre-defined hidden fields. If we modified the item, that will affects the Modified Date, Modified By, Version information fields. SPList olist = oweb.Lists.TryGetList(&#8220;ListName&#8221;); SPListItem olistitem = olist.Items[1]; olistitem.Title [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ktskumar.wordpress.com&amp;blog=1309265&amp;post=201&amp;subd=ktskumar&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>There are two methods available to update the List Items on SPListItem Object.<br />
<strong>SPListItem.Update();</strong><br />
<strong>SPListItem.SystemUpdate();</strong></p>
<p>SPListItem.Update() used to update all the values in SharePoint List Item including pre-defined hidden fields. If we modified the item, that will affects the Modified Date, Modified By, Version information fields.</p>
<p>SPList olist = oweb.Lists.TryGetList(&#8220;ListName&#8221;);<br />
SPListItem olistitem = olist.Items[1];<br />
olistitem.Title = &#8220;Sample List Item&#8221;<br />
olistitem.Update();<br />
olist.Update();</p>
<p>SPListItem.SystemUpdate() method used to update the values of the listitem without modifying the Modified Date, Modified By and Version information fields.</p>
<p>SPList olist = oweb.Lists.TryGetList(&#8220;ListName&#8221;);<br />
SPListItem olistitem = olist.Items[1];<br />
olistitem.Title = &#8220;Sample List Item&#8221;<br />
olistitem.SystemUpdate();<br />
olist.Update();</p>
<p><a title="Read More..." href="http://www.ktskumar.com/blog/2011/03/06/updating-sharepoint-listitems/">Read More&#8230;</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ktskumar.wordpress.com/201/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ktskumar.wordpress.com/201/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ktskumar.wordpress.com/201/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ktskumar.wordpress.com/201/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ktskumar.wordpress.com/201/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ktskumar.wordpress.com/201/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ktskumar.wordpress.com/201/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ktskumar.wordpress.com/201/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ktskumar.wordpress.com/201/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ktskumar.wordpress.com/201/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ktskumar.wordpress.com/201/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ktskumar.wordpress.com/201/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ktskumar.wordpress.com/201/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ktskumar.wordpress.com/201/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ktskumar.wordpress.com&amp;blog=1309265&amp;post=201&amp;subd=ktskumar&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ktskumar.wordpress.com/2011/03/06/updating-sharepoint-listitems/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/47c16718ab06dbaea914e66d9374697f?s=96&#38;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96" medium="image">
			<media:title type="html">ktskumar</media:title>
		</media:content>
	</item>
		<item>
		<title>http://www.ktskumar.com</title>
		<link>http://ktskumar.wordpress.com/2009/07/02/httpktskumar-com-blog/</link>
		<comments>http://ktskumar.wordpress.com/2009/07/02/httpktskumar-com-blog/#comments</comments>
		<pubDate>Thu, 02 Jul 2009 16:25:46 +0000</pubDate>
		<dc:creator>Shantham</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://ktskumar.wordpress.com/?p=167</guid>
		<description><![CDATA[I am waiting for long time to own a new domain , and now it’s happened. Just visit my new blog here, http://www.ktskumar.com . And I want to share with you all the things I learned, mainly Sharepoint, Silverlight, JQuery, Bing , so always tune me on my new Url  to keep updated with my [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ktskumar.wordpress.com&amp;blog=1309265&amp;post=167&amp;subd=ktskumar&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I am waiting for long time to own a new domain , and now it’s happened. Just visit my new blog here, <strong><a href="http://www.ktskumar.com">http://www.ktskumar.com</a></strong> . And I want to share with you all the things I learned, mainly Sharepoint, Silverlight, JQuery, Bing , so always tune me on my new Url  to keep updated with my blog.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ktskumar.wordpress.com/167/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ktskumar.wordpress.com/167/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ktskumar.wordpress.com/167/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ktskumar.wordpress.com/167/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ktskumar.wordpress.com/167/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ktskumar.wordpress.com/167/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ktskumar.wordpress.com/167/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ktskumar.wordpress.com/167/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ktskumar.wordpress.com/167/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ktskumar.wordpress.com/167/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ktskumar.wordpress.com/167/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ktskumar.wordpress.com/167/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ktskumar.wordpress.com/167/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ktskumar.wordpress.com/167/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ktskumar.wordpress.com&amp;blog=1309265&amp;post=167&amp;subd=ktskumar&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ktskumar.wordpress.com/2009/07/02/httpktskumar-com-blog/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/47c16718ab06dbaea914e66d9374697f?s=96&#38;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96" medium="image">
			<media:title type="html">ktskumar</media:title>
		</media:content>
	</item>
		<item>
		<title>Creating sub-sites using WebService</title>
		<link>http://ktskumar.wordpress.com/2009/04/25/webservice-subsites/</link>
		<comments>http://ktskumar.wordpress.com/2009/04/25/webservice-subsites/#comments</comments>
		<pubDate>Sat, 25 Apr 2009 02:03:45 +0000</pubDate>
		<dc:creator>Shantham</dc:creator>
				<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[WebService]]></category>
		<category><![CDATA[CreateWorkSpace]]></category>
		<category><![CDATA[Meetings.asmx]]></category>
		<category><![CDATA[Sub Sites]]></category>

		<guid isPermaLink="false">http://ktskumar.wordpress.com/?p=162</guid>
		<description><![CDATA[I noticed in MSDN forums, many of them are struggling with creation of sub-sites using webservice in sharepoint. I take a look on that, Because they are all try to use CreatSite method in Admin webservice. But that will help only on creating SiteCollections. Then how we can create a susite? It&#8217;s very easy if you are [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ktskumar.wordpress.com&amp;blog=1309265&amp;post=162&amp;subd=ktskumar&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I noticed in MSDN forums, many of them are struggling with creation of sub-sites using webservice in sharepoint.</p>
<p>I take a look on that, Because they are all try to use CreatSite method in Admin webservice. But that will help only on creating SiteCollections.</p>
<p>Then how we can create a susite? It&#8217;s very easy if you are look in to Meetings webservice. This will have a CreateWorkspace method.</p>
<p>URL for Meetings webservice: <span style="color:#333399;">~site/_vti_bin/meetings.asmx</span></p>
<p>Syntax :<br />
<span style="color:#333399;">CreateWorkspace([Site Title],[Site Template],[LCID],[TimeZone Information]);</span></p>
<p>Sample Code:<br />
<span style="color:#333399;">MeetingWebService.Meetings WMService = new MeetingWebService.Meetings(); MeetingWebService.TimeZoneInf tz = new MeetingWebService.TimeZoneInf(); XmlNode xnode= WMService.CreateWorkspace(&#8220;sitename&#8221;, &#8220;STS#0&#8243;, 1033, tz);</span></p>
<p><a href="http://ktskumar.com/blog/"><strong>Read More&#8230;.</strong></a></p>
<p> <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  Cheers guys</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ktskumar.wordpress.com/162/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ktskumar.wordpress.com/162/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ktskumar.wordpress.com/162/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ktskumar.wordpress.com/162/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ktskumar.wordpress.com/162/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ktskumar.wordpress.com/162/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ktskumar.wordpress.com/162/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ktskumar.wordpress.com/162/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ktskumar.wordpress.com/162/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ktskumar.wordpress.com/162/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ktskumar.wordpress.com/162/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ktskumar.wordpress.com/162/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ktskumar.wordpress.com/162/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ktskumar.wordpress.com/162/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ktskumar.wordpress.com&amp;blog=1309265&amp;post=162&amp;subd=ktskumar&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ktskumar.wordpress.com/2009/04/25/webservice-subsites/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/47c16718ab06dbaea914e66d9374697f?s=96&#38;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96" medium="image">
			<media:title type="html">ktskumar</media:title>
		</media:content>
	</item>
		<item>
		<title>SharePoint Database SQL Query Tips4</title>
		<link>http://ktskumar.wordpress.com/2009/04/14/sharepoint-database-sql-query-tips4/</link>
		<comments>http://ktskumar.wordpress.com/2009/04/14/sharepoint-database-sql-query-tips4/#comments</comments>
		<pubDate>Tue, 14 Apr 2009 18:05:15 +0000</pubDate>
		<dc:creator>Shantham</dc:creator>
				<category><![CDATA[Database]]></category>
		<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[SharePoint Database]]></category>
		<category><![CDATA[Sql Query]]></category>
		<category><![CDATA[Tips]]></category>

		<guid isPermaLink="false">http://ktskumar.wordpress.com/?p=154</guid>
		<description><![CDATA[Where are the Documents or files we uploaded or attached stored in sharepoint? Many of them know, those files are stored under SharePoint Content Database. But on which database table, on which format? For that, i did a quick research on that, and here i give those results, The AllDocStreams table in SharePoint Content Database [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ktskumar.wordpress.com&amp;blog=1309265&amp;post=154&amp;subd=ktskumar&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Where are the Documents or files we uploaded or attached stored in sharepoint? Many of them know, those files are stored under SharePoint Content Database. But on which database table, on which format?</p>
<p>For that, i did a quick research on that, and here i give those results,</p>
<ul>
<li>The <strong>AllDocStreams</strong> table in SharePoint Content Database stores the Document Contents.</li>
<li>The Contents of the document are stored in <strong>Content </strong>Column in the <strong>AllDocStream</strong> table.</li>
<li>The <strong>Content</strong> column is the <strong>Image Datatype</strong>, (stores in the format of Binary).</li>
</ul>
<p>I provide a simple SQL Query to retrieve the Document List Name,File Name, URL, and the Content (Binary Format)</p>
<p><span><span style="color:#0000ff;">SELECT</span></span> <span>AllLists</span><span>.</span><span>tp_Title </span><span style="color:#0000ff;">AS</span><span> </span><span style="color:#ff0000;">&#8216;List Name&#8217;</span><span style="color:#808080;">,</span><br />
<span><span>AllDocs.LeafName </span></span><span style="color:#0000ff;">AS</span><span> </span><span style="color:#ff0000;">&#8216;File Name&#8217;</span><span style="color:#808080;">,</span><br />
<span><span>AllDocs.DirName </span></span><span style="color:#0000ff;">AS</span><span> </span><span style="color:#ff0000;">&#8216;URL&#8217;</span><span style="color:#808080;">,</span><br />
<span><span>AllDocStreams</span></span><span style="color:#808080;">.</span><span>Content </span><span style="color:#0000ff;">AS</span><span> </span><span style="color:#ff0000;">&#8216;Document Contnt (Binary)&#8217;</span><span> </span><br />
<span style="color:#0000ff;"><span style="color:#0000ff;">FROM </span></span><span>AllDocs </span><br />
<span style="color:#808080;"><span style="color:#808080;">JOIN </span></span><span>AllDocStreams </span><br />
<span style="color:#0000ff;"><span style="color:#0000ff;">ON </span></span><br />
<span><span>AllDocs</span></span><span style="color:#808080;">.</span><span>Id</span><span style="color:#808080;">=</span><span>AllDocStreams</span><span style="color:#808080;">.</span><span>Id </span><br />
<span style="color:#808080;"><span style="color:#808080;">JOIN </span></span><span>AllLists </span><br />
<span style="color:#0000ff;"><span style="color:#0000ff;">ON</span></span><br />
<span><span>AllLists</span></span><span style="color:#808080;">.</span><span>tp_id </span><span style="color:#808080;">=</span><span> AllDocs</span><span style="color:#808080;">.</span><span>ListId</span></p>
<p><span>By Sooner, I&#8217;ll come up with other interesting Sql Query Tips.</span></p>
<p><a href="http://ktskumar.com/blog/"><strong>Read more&#8230;</strong></a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ktskumar.wordpress.com/154/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ktskumar.wordpress.com/154/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ktskumar.wordpress.com/154/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ktskumar.wordpress.com/154/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ktskumar.wordpress.com/154/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ktskumar.wordpress.com/154/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ktskumar.wordpress.com/154/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ktskumar.wordpress.com/154/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ktskumar.wordpress.com/154/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ktskumar.wordpress.com/154/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ktskumar.wordpress.com/154/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ktskumar.wordpress.com/154/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ktskumar.wordpress.com/154/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ktskumar.wordpress.com/154/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ktskumar.wordpress.com&amp;blog=1309265&amp;post=154&amp;subd=ktskumar&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ktskumar.wordpress.com/2009/04/14/sharepoint-database-sql-query-tips4/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/47c16718ab06dbaea914e66d9374697f?s=96&#38;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96" medium="image">
			<media:title type="html">ktskumar</media:title>
		</media:content>
	</item>
		<item>
		<title>Download all files from SharePoint Library</title>
		<link>http://ktskumar.wordpress.com/2009/04/11/download-all-files-from-sharepoint-library/</link>
		<comments>http://ktskumar.wordpress.com/2009/04/11/download-all-files-from-sharepoint-library/#comments</comments>
		<pubDate>Sat, 11 Apr 2009 15:35:07 +0000</pubDate>
		<dc:creator>Shantham</dc:creator>
				<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[All Files]]></category>
		<category><![CDATA[Download]]></category>
		<category><![CDATA[Library]]></category>
		<category><![CDATA[SPQuery]]></category>

		<guid isPermaLink="false">http://ktskumar.wordpress.com/?p=152</guid>
		<description><![CDATA[Now, we are going to see how we can download all documents(incluing sub folders) from SharePoint Library. First of all,we have get all documents from SharePoint Library. The following code help us to get all the documents including Subfolders. //Get the Document Library and its view SPList list = web.Lists["Test Document"]; SPView view = list.Views["All [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ktskumar.wordpress.com&amp;blog=1309265&amp;post=152&amp;subd=ktskumar&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Now, we are going to see how we can download all documents(incluing sub folders) from SharePoint Library.</p>
<p>First of all,we have get all documents from SharePoint Library. The following code help us to get all the documents including Subfolders.<br />
<span style="color:#99cc00;"><span style="color:#339966;">//Get the Document Library and its view</span><br />
</span><span style="color:#000080;">SPList list = web.Lists["Test Document"];<br />
SPView view = list.Views["All Documents"];</span><br />
<span style="color:#339966;">//Query all documents in Library including files under subfolders<br />
</span><span style="color:#000080;">SPQuery squery = new SPQuery(view);<br />
squery.ViewAttributes = &#8220;Scope=\&#8221;Recursive\&#8221;";<br />
SPListItemCollection items = list.GetItems(squery);</span></p>
<p>Now we have to write a code for downloaing documents,<br />
<span style="color:#339966;">//Read all documents and write those files to Local System</span><br />
<span style="color:#000080;">foreach (SPListItem item in items)<br />
{<br />
byte[] binfile = item.File.OpenBinary();<br />
FileStream fstream = new FileStream(&#8220;F:\\&#8221; + item.File.Name, FileMode.Create, FileAccess.ReadWrite);<br />
fstream.Write(binfile, 0, binfile.Length);<br />
fstream.Close();<br />
}</span></p>
<p>By using the above code snippets, we can download all document from SharePoint Library.<br />
<a href="http://ktskumar.com/blog/"><strong>Read more&#8230;.</strong></a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ktskumar.wordpress.com/152/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ktskumar.wordpress.com/152/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ktskumar.wordpress.com/152/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ktskumar.wordpress.com/152/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ktskumar.wordpress.com/152/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ktskumar.wordpress.com/152/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ktskumar.wordpress.com/152/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ktskumar.wordpress.com/152/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ktskumar.wordpress.com/152/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ktskumar.wordpress.com/152/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ktskumar.wordpress.com/152/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ktskumar.wordpress.com/152/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ktskumar.wordpress.com/152/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ktskumar.wordpress.com/152/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ktskumar.wordpress.com&amp;blog=1309265&amp;post=152&amp;subd=ktskumar&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ktskumar.wordpress.com/2009/04/11/download-all-files-from-sharepoint-library/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/47c16718ab06dbaea914e66d9374697f?s=96&#38;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96" medium="image">
			<media:title type="html">ktskumar</media:title>
		</media:content>
	</item>
		<item>
		<title>User Information List &#8211; URL</title>
		<link>http://ktskumar.wordpress.com/2009/04/03/user-information-list-url-2/</link>
		<comments>http://ktskumar.wordpress.com/2009/04/03/user-information-list-url-2/#comments</comments>
		<pubDate>Fri, 03 Apr 2009 04:54:57 +0000</pubDate>
		<dc:creator>Shantham</dc:creator>
				<category><![CDATA[MOSS]]></category>
		<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[List URL]]></category>
		<category><![CDATA[URL]]></category>
		<category><![CDATA[User Information List]]></category>

		<guid isPermaLink="false">http://ktskumar.wordpress.com/?p=145</guid>
		<description><![CDATA[In my WSS &#8211; User Information List post, I&#8217;ll list out the fields available under hidden &#8220;User Information List&#8221;. Now i&#8217;ll like to share the details of URL for that &#8220;User Information List&#8221;. By using follwoing code, we can get the Users list url, SPList userList = SPContext.Current.Web.SiteUserInfoList; string url = userList.Forms[PAGETYPE.PAGE_DISPLAYFORM].Url; the above code will [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ktskumar.wordpress.com&amp;blog=1309265&amp;post=145&amp;subd=ktskumar&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>In my <a href="http://ktskumar.wordpress.com/2009/03/11/wss-user-information-list/">WSS &#8211; User Information List </a>post, I&#8217;ll list out the fields available under hidden &#8220;User Information List&#8221;. Now i&#8217;ll like to share the details of URL for that &#8220;User Information List&#8221;.</p>
<p>By using follwoing code, we can get the Users list url,</p>
<p><span style="color:#000080;">SPList userList = SPContext.Current.Web.SiteUserInfoList;<br />
string url = userList.Forms[PAGETYPE.PAGE_DISPLAYFORM].Url;</span></p>
<p>the above code will return like the following url <span style="color:#008000;">http://mysite/_layouts/userdisp.aspx</span>. But, this url is not the exact url.</p>
<p>The actual url for &#8220;User Information List&#8221; available under _Catalogs folder.<br />
FYI, I list out the url&#8217;s here,</p>
<ul>
<li><span style="color:#008000;">http://mysite/_catalogs/users/detail.aspx<br />
</span>            Shows the detail view of only Users in the list.</li>
<li><span style="color:#008000;">http://mysite/_catalogs/users/simple.aspx<br />
</span>            Shows the simple view of only Users in the List</li>
<li><span style="color:#008000;">http://mysite/_catalogs/users/allgroups.aspx</span><br />
            Shows all the groups without users available in Site.</li>
</ul>
<p>In my next post, i&#8217;ll explain about the default folders available in this &#8220;User Information List&#8221;.</p>
<p><a href="http://ktskumar.com/blog/"><strong>Read more&#8230;.</strong></a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ktskumar.wordpress.com/145/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ktskumar.wordpress.com/145/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ktskumar.wordpress.com/145/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ktskumar.wordpress.com/145/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ktskumar.wordpress.com/145/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ktskumar.wordpress.com/145/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ktskumar.wordpress.com/145/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ktskumar.wordpress.com/145/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ktskumar.wordpress.com/145/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ktskumar.wordpress.com/145/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ktskumar.wordpress.com/145/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ktskumar.wordpress.com/145/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ktskumar.wordpress.com/145/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ktskumar.wordpress.com/145/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ktskumar.wordpress.com&amp;blog=1309265&amp;post=145&amp;subd=ktskumar&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ktskumar.wordpress.com/2009/04/03/user-information-list-url-2/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/47c16718ab06dbaea914e66d9374697f?s=96&#38;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96" medium="image">
			<media:title type="html">ktskumar</media:title>
		</media:content>
	</item>
		<item>
		<title>SharePoint Database SQL Query Tips3</title>
		<link>http://ktskumar.wordpress.com/2009/03/23/sharepoint-database-sql-query-tips3/</link>
		<comments>http://ktskumar.wordpress.com/2009/03/23/sharepoint-database-sql-query-tips3/#comments</comments>
		<pubDate>Mon, 23 Mar 2009 10:33:00 +0000</pubDate>
		<dc:creator>Shantham</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[SharePoint Database]]></category>
		<category><![CDATA[Sql Query]]></category>
		<category><![CDATA[Tips Series]]></category>

		<guid isPermaLink="false">http://ktskumar.wordpress.com/?p=139</guid>
		<description><![CDATA[Now, we are going to retrive the file details from AllDocs Database. Which has the informations about the files stored in SharePoint List or Library. &#8211; Returns all document from all lists availabe in WebApplication SELECT AllDocs.Leafname AS FileName&#8217;,                   AllDOcs.Dirname AS &#8216;Folder Path&#8217;,                   AllLists.tp_Title AS &#8216;List Title&#8217;,                  Webs.Title AS &#8216;Web Title&#8217; FROM AllDocs JOIN AllLists ON AllLists.tp_Id=AllDocs.ListId JOIN Webs ON [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ktskumar.wordpress.com&amp;blog=1309265&amp;post=139&amp;subd=ktskumar&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Now, we are going to retrive the file details from AllDocs Database. Which has the informations about the files stored in SharePoint List or Library.</p>
<p><span style="color:#009900;">&#8211; Returns all document from all lists availabe in WebApplication</span><br />
<span style="color:#0000ff;">SELECT</span> AllDocs.Leafname <span style="color:#0000ff;">AS </span><span style="color:#ff0000;">FileName&#8217;</span>, <br />
                 AllDOcs.Dirname <span style="color:#0000ff;">AS</span> <span style="color:#ff0000;">&#8216;Folder Path&#8217;</span>, <br />
                 AllLists.tp_Title <span style="color:#0000ff;">AS</span> <span style="color:#ff0000;">&#8216;List Title&#8217;</span>,<br />
                 Webs.Title <span style="color:#0000ff;">AS</span> <span style="color:#ff0000;">&#8216;Web Title&#8217;</span><br />
<span style="color:#0000ff;">FROM</span> AllDocs<br />
<span style="color:dimgray;">JOIN</span> AllLists<br />
<span style="color:#0000ff;">ON</span><br />
AllLists.tp_Id=AllDocs.ListId<br />
<span style="color:dimgray;">JOIN</span> Webs<br />
<span style="color:#0000ff;">ON</span><br />
Webs.Id=AllLists.tp_WebId<span style="color:#0000ff;"><br />
ORDER BY</span> webs.title</p>
<p>If you need the file informations about particular document type. Use the Extension column to check the document type.</p>
<p>For Ex., The following Query returns only master pages on all WebSites,</p>
<p><span style="color:#009900;">&#8211; Returns master pages in WebApplication for all WebSites</span><br />
<span style="color:#0000ff;">SELECT</span> AllDocs.Leafname <span style="color:#0000ff;">AS </span><span style="color:#ff0000;">FileName&#8217;</span>, <br />
                 AllDocs.Dirname <span style="color:#0000ff;">AS</span> <span style="color:#ff0000;">&#8216;Folder Path&#8217;</span>, <br />
                 AllLists.tp_Title <span style="color:#0000ff;">AS</span> <span style="color:#ff0000;">&#8216;List Title&#8217;</span>,<br />
                 Webs.Title <span style="color:#0000ff;">AS</span> <span style="color:#ff0000;">&#8216;Web Title&#8217;</span><br />
<span style="color:#0000ff;">FROM</span> AllDocs<br />
<span style="color:dimgray;">JOIN</span> AllLists<br />
<span style="color:#0000ff;">ON </span><br />
AllLists.tp_Id=AllDocs.ListId<br />
<span style="color:dimgray;">JOIN</span> Webs<br />
<span style="color:#0000ff;">ON</span><br />
Webs.Id=AllLists.tp_WebId<span style="color:#0000ff;"><br />
</span><span style="color:#0000ff;">WHERE </span><span style="color:#000000;">Extension=&#8217;master&#8217;</span><br />
<span style="color:#000000;"><span style="color:#0000ff;">ORDER BY</span> Webs.Title</span></p>
<p>Like the above query, we can get all type of documents.</p>
<p><a href="http://ktskumar.com/blog/"><strong>Read more&#8230;.</strong></a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ktskumar.wordpress.com/139/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ktskumar.wordpress.com/139/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ktskumar.wordpress.com/139/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ktskumar.wordpress.com/139/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ktskumar.wordpress.com/139/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ktskumar.wordpress.com/139/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ktskumar.wordpress.com/139/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ktskumar.wordpress.com/139/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ktskumar.wordpress.com/139/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ktskumar.wordpress.com/139/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ktskumar.wordpress.com/139/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ktskumar.wordpress.com/139/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ktskumar.wordpress.com/139/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ktskumar.wordpress.com/139/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ktskumar.wordpress.com&amp;blog=1309265&amp;post=139&amp;subd=ktskumar&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ktskumar.wordpress.com/2009/03/23/sharepoint-database-sql-query-tips3/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/47c16718ab06dbaea914e66d9374697f?s=96&#38;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96" medium="image">
			<media:title type="html">ktskumar</media:title>
		</media:content>
	</item>
		<item>
		<title>SharePoint Database SQL Query Tips2</title>
		<link>http://ktskumar.wordpress.com/2009/03/19/sharepoint-database-sql-query-tips2/</link>
		<comments>http://ktskumar.wordpress.com/2009/03/19/sharepoint-database-sql-query-tips2/#comments</comments>
		<pubDate>Thu, 19 Mar 2009 16:56:45 +0000</pubDate>
		<dc:creator>Shantham</dc:creator>
				<category><![CDATA[MOSS]]></category>
		<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[SharePoint Database]]></category>
		<category><![CDATA[Sql Query]]></category>
		<category><![CDATA[Tips Series]]></category>

		<guid isPermaLink="false">http://ktskumar.wordpress.com/?p=136</guid>
		<description><![CDATA[Today, we are going to see the query for returning Webs and Site Collections available in the Database (WebApplication). &#8211;Returns Total Number of Site Collections in WebApplication select  count(*) as &#8216;Total Site Collection&#8217; from sites &#8211;Returns Root Site Title for each Site Collection available in WebApplication  select Title as &#8216;Root Web Title&#8217;, Sites.RootWebId, Sites.Id as &#8216;Site Collection [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ktskumar.wordpress.com&amp;blog=1309265&amp;post=136&amp;subd=ktskumar&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Today, we are going to see the query for returning Webs and Site Collections available in the Database (WebApplication).</p>
<p><span style="font-size:x-small;color:#008000;">&#8211;Returns Total Number of Site Collections in WebApplication<br />
</span><span style="font-size:x-small;color:#0000ff;"><span style="font-size:x-small;color:#0000ff;">select </span></span><span style="font-size:x-small;"> </span><span style="font-size:x-small;color:#ff00ff;">count</span><span style="font-size:x-small;color:#808080;">(*)</span><span style="font-size:x-small;"> </span><span style="font-size:x-small;color:#0000ff;">as</span><span style="font-size:x-small;"> </span><span style="font-size:x-small;color:#ff0000;">&#8216;Total Site Collection&#8217; </span><span style="font-size:x-small;color:#0000ff;">from </span><span style="font-size:x-small;">sites</span></p>
<p><span style="font-size:x-small;color:#008000;">&#8211;Returns Root Site Title for each Site Collection available in WebApplication<br />
<span style="font-size:x-small;color:#008000;"> </span></span><span style="font-size:x-small;color:#0000ff;">select </span><span style="font-size:x-small;">Title </span><span style="font-size:x-small;color:#0000ff;">as</span><span style="font-size:x-small;"> </span><span style="font-size:x-small;color:#ff0000;">&#8216;Root Web Title&#8217;</span><span style="font-size:x-small;color:#808080;">,</span><span style="font-size:x-small;"> Sites</span><span style="font-size:x-small;color:#808080;">.</span><span style="font-size:x-small;">RootWebId</span><span style="font-size:x-small;color:#808080;">,</span><span style="font-size:x-small;"> Sites</span><span style="font-size:x-small;color:#808080;">.</span><span style="font-size:x-small;">Id </span><span style="font-size:x-small;color:#0000ff;">as</span><span style="font-size:x-small;"> </span><span style="font-size:x-small;color:#ff0000;">&#8216;Site Collection ID&#8217;</span><span style="font-size:x-small;"> </span><span style="font-size:x-small;color:#0000ff;">from</span><span style="font-size:x-small;"> webs </span><span style="font-size:x-small;color:#808080;">inner</span><span style="font-size:x-small;"> </span><span style="font-size:x-small;color:#808080;">join</span><span style="font-size:x-small;"> Sites </span><span style="font-size:x-small;color:#0000ff;">on</span><span style="font-size:x-small;"> Webs</span><span style="font-size:x-small;color:#808080;">.</span><span style="font-size:x-small;">Id </span><span style="font-size:x-small;color:#808080;">=</span><span style="font-size:x-small;"> Sites</span><span style="font-size:x-small;color:#808080;">.</span><span style="font-size:x-small;">RootWebId</span></p>
<p><span style="font-size:x-small;color:#008000;">&#8211;Returns Total Web Sites in WebApplication<br />
</span><span style="font-size:x-small;color:#0000ff;"><span style="font-size:x-small;color:#0000ff;">select </span></span><span style="font-size:x-small;color:#ff00ff;">count</span><span style="font-size:x-small;color:#808080;">(*)</span><span style="font-size:x-small;"> </span><span style="font-size:x-small;color:#0000ff;">from </span><span style="font-size:x-small;">Webs</span></p>
<p><span style="font-size:x-small;color:#008000;">&#8211;Returns WebSite Title and Site Id</span><br />
<span style="font-size:x-small;color:#0000ff;"><span style="font-size:x-small;color:#0000ff;">select </span></span><span style="font-size:x-small;">Title </span><span style="font-size:x-small;color:#0000ff;">as</span><span style="font-size:x-small;"> </span><span style="font-size:x-small;color:#ff0000;">&#8216;Site title&#8217;</span><span style="font-size:x-small;color:#808080;">,</span><span style="font-size:x-small;">FullUrl</span><span style="font-size:x-small;color:#808080;">,</span><span style="font-size:x-small;"> SiteId </span><span style="font-size:x-small;color:#0000ff;">as</span><span style="font-size:x-small;"> </span><span style="font-size:x-small;color:#ff0000;">&#8216;Site Collection Id&#8217;</span><span style="font-size:x-small;"> </span><span style="font-size:x-small;color:#0000ff;">from</span><span style="font-size:x-small;"> Webs </span><span style="font-size:x-small;color:#0000ff;">order</span><span style="font-size:x-small;"> </span><span style="font-size:x-small;color:#0000ff;">by </span><span style="font-size:x-small;">SiteId</span></p>
<p><span style="font-size:x-small;color:#008000;">&#8211;Returns Total number of Web Sites under each SiteCollection<br />
</span><span style="font-size:x-small;color:#0000ff;"><span style="font-size:x-small;color:#0000ff;">select </span></span><span style="font-size:x-small;">SiteId</span><span style="font-size:x-small;color:#808080;">,</span><span style="font-size:x-small;"> </span><span style="font-size:x-small;color:#ff00ff;">count</span><span style="font-size:x-small;color:#808080;">(*)</span><span style="font-size:x-small;"> </span><span style="font-size:x-small;color:#0000ff;">as</span><span style="font-size:x-small;"> </span><span style="font-size:x-small;color:#ff0000;">&#8216;Total Sub Sites&#8217;</span><span style="font-size:x-small;"> </span><span style="font-size:x-small;color:#0000ff;">from</span><span style="font-size:x-small;"> Webs </span><span style="font-size:x-small;color:#808080;">inner</span><span style="font-size:x-small;"> </span><span style="font-size:x-small;color:#808080;">join</span><span style="font-size:x-small;"> Sites </span><span style="font-size:x-small;color:#0000ff;">on</span><span style="font-size:x-small;"> Sites</span><span style="font-size:x-small;color:#808080;">.</span><span style="font-size:x-small;">Id </span><span style="font-size:x-small;color:#808080;">=</span><span style="font-size:x-small;"> Webs</span><span style="font-size:x-small;color:#808080;">.</span><span style="font-size:x-small;">SiteId </span><span style="font-size:x-small;color:#0000ff;">group</span><span style="font-size:x-small;"> </span><span style="font-size:x-small;color:#0000ff;">by</span><span style="font-size:x-small;"> SiteId</span></p>
<p><span style="font-size:x-small;"><strong><span style="color:#008000;">Webs</span></strong> <span style="color:#000000;">Database stores the informations on Web Sites.</span></span><br />
<span style="font-size:x-small;"><strong><span style="color:#008000;">Sites</span></strong> <span style="color:#000000;">Database stores the informations on Site Collections.</span></span></p>
<p><a href="http://ktskumar.com/blog/"><strong>Read more&#8230;.</strong></a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ktskumar.wordpress.com/136/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ktskumar.wordpress.com/136/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ktskumar.wordpress.com/136/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ktskumar.wordpress.com/136/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ktskumar.wordpress.com/136/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ktskumar.wordpress.com/136/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ktskumar.wordpress.com/136/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ktskumar.wordpress.com/136/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ktskumar.wordpress.com/136/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ktskumar.wordpress.com/136/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ktskumar.wordpress.com/136/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ktskumar.wordpress.com/136/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ktskumar.wordpress.com/136/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ktskumar.wordpress.com/136/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ktskumar.wordpress.com&amp;blog=1309265&amp;post=136&amp;subd=ktskumar&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ktskumar.wordpress.com/2009/03/19/sharepoint-database-sql-query-tips2/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/47c16718ab06dbaea914e66d9374697f?s=96&#38;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96" medium="image">
			<media:title type="html">ktskumar</media:title>
		</media:content>
	</item>
	</channel>
</rss>
