<?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/"
	>

<channel>
	<title>Welcome to ShanthaKumar&#039;s Blog &#187; Lists</title>
	<atom:link href="http://ktskumar.com/blog/tag/lists/feed/" rel="self" type="application/rss+xml" />
	<link>http://ktskumar.com/blog</link>
	<description>SharePoint, Silverlight and more.........</description>
	<lastBuildDate>Thu, 10 Jun 2010 01:42:10 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>SharePoint Database SQL Query Tips1</title>
		<link>http://ktskumar.com/blog/2009/03/18/sharepoint-database-sql-query-tips1/</link>
		<comments>http://ktskumar.com/blog/2009/03/18/sharepoint-database-sql-query-tips1/#comments</comments>
		<pubDate>Wed, 18 Mar 2009 11:56:48 +0000</pubDate>
		<dc:creator>Shantha Kumar</dc:creator>
				<category><![CDATA[MOSS]]></category>
		<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[Database]]></category>
		<category><![CDATA[Lists]]></category>
		<category><![CDATA[Sql Query]]></category>

		<guid isPermaLink="false">http://ktskumar.wordpress.com/?p=123</guid>
		<description><![CDATA[Today onwards on daily basis, I decided to post the Sql Query to access the SharePoint Databases. To know more about the databases in Sharepoint , check my SharePoint Databases Post.
To retrieve all lists from the database, use the following query,
select AllLists.tp_Title as &#8216;List Title&#8217;,webs.Title as &#8216;Web Title&#8217;
from dbo.AllLists as AllLists
inner join dbo.Webs as webs
on [...]]]></description>
			<content:encoded><![CDATA[<p>Today onwards on daily basis, I decided to post the Sql Query to access the SharePoint Databases. To know more about the databases in Sharepoint , check my <a href="http://ktskumar.wordpress.com/2009/03/10/sharepoint-databases/" target="_self">SharePoint Databases </a>Post.<br />
To retrieve all lists from the database, use the following query,</p>
<p><span style="color:#0000ff;">select</span> AllLists.tp_Title <span style="color:#0000ff;">as</span> &#8216;List Title&#8217;,webs.Title <span style="color:#0000ff;">as</span> &#8216;Web Title&#8217;<br />
<span style="color:#0000ff;">from</span> dbo.AllLists <span style="color:#0000ff;">as</span> AllLists<br />
<span style="color:#999999;">inner join</span> dbo.Webs <span style="color:#0000ff;">as</span> webs<br />
<span style="color:#0000ff;">on</span> webs.Id=AllLists.tp_WebId<br />
<span style="color:#0000ff;">order by</span> webs.Title</p>
<p>dbo.AllLists Table contains all the lists available in WebApplication Level *</p>
<p>dbo.Webs Table Contains all the webs or sites available in WebApplication Level  *</p>
<div id="attachment_124" class="wp-caption aligncenter" style="width: 399px"><img class="size-full wp-image-124" title="sqlquery1" src="http://ktskumar.files.wordpress.com/2009/03/sqlquery1.jpg" alt="Sql Query Result" width="389" height="214" /><p class="wp-caption-text">Sql Query Result - Returns All Lists with Site</p></div>
<p>*If the Database configured for SiteCollection, then the table only contains the datas for SiteCollection Level.</p>
]]></content:encoded>
			<wfw:commentRss>http://ktskumar.com/blog/2009/03/18/sharepoint-database-sql-query-tips1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
