<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Sharepoint 2003 &#8211; Database Internal</title>
	<atom:link href="http://blog.dreamdevil.com/index.php/2007/04/02/sharepoint_2003_database_internal/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.dreamdevil.com/index.php/2007/04/02/sharepoint_2003_database_internal/</link>
	<description></description>
	<lastBuildDate>Sun, 30 Oct 2011 06:51:11 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.3</generator>
	<item>
		<title>By: Pascal</title>
		<link>http://blog.dreamdevil.com/index.php/2007/04/02/sharepoint_2003_database_internal/comment-page-1/#comment-1385</link>
		<dc:creator>Pascal</dc:creator>
		<pubDate>Sun, 30 Oct 2011 00:15:54 +0000</pubDate>
		<guid isPermaLink="false">http://192.168.10.130/index.php/2008/01/25/sharepoint_2003_database_internal/#comment-1385</guid>
		<description>There will not be a 17th column (never tested it but pretty sure).  Sharepoint has its limit.</description>
		<content:encoded><![CDATA[<p>There will not be a 17th column (never tested it but pretty sure).  Sharepoint has its limit.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chintan</title>
		<link>http://blog.dreamdevil.com/index.php/2007/04/02/sharepoint_2003_database_internal/comment-page-1/#comment-1382</link>
		<dc:creator>Chintan</dc:creator>
		<pubDate>Wed, 19 Oct 2011 15:05:47 +0000</pubDate>
		<guid isPermaLink="false">http://192.168.10.130/index.php/2008/01/25/sharepoint_2003_database_internal/#comment-1382</guid>
		<description>Hi Pascal,

Great Article on every table in DB. 

I am stuck in one weird issue and getting no solution on internet.

I am using Sharepoint 2007 with Sql Server 2008.

From your blog, I got to know that every numeric columns data are store in float1 field in UserData table. So, similarly another numeric column will store in float2 and so on up to float16. But, what will happen when 17th numeric column exists in Sharepoint List. Where Sharepoint will store it? 

Pls advice. Awaiting your reply.

Thanks,
Chintan</description>
		<content:encoded><![CDATA[<p>Hi Pascal,</p>
<p>Great Article on every table in DB. </p>
<p>I am stuck in one weird issue and getting no solution on internet.</p>
<p>I am using Sharepoint 2007 with Sql Server 2008.</p>
<p>From your blog, I got to know that every numeric columns data are store in float1 field in UserData table. So, similarly another numeric column will store in float2 and so on up to float16. But, what will happen when 17th numeric column exists in Sharepoint List. Where Sharepoint will store it? </p>
<p>Pls advice. Awaiting your reply.</p>
<p>Thanks,<br />
Chintan</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pascal</title>
		<link>http://blog.dreamdevil.com/index.php/2007/04/02/sharepoint_2003_database_internal/comment-page-1/#comment-272</link>
		<dc:creator>Pascal</dc:creator>
		<pubDate>Thu, 25 Feb 2010 04:11:31 +0000</pubDate>
		<guid isPermaLink="false">http://192.168.10.130/index.php/2008/01/25/sharepoint_2003_database_internal/#comment-272</guid>
		<description>Even if the storage engine of sharepoint is a format that we can query and update, this is still a proprietary format.  Updating the content directly is at your own risks.
The information available in this post was gathered by reverse-engineering when I built the &lt;a href=&quot;/index.php/2007/03/13/sharepoint_2003_database_exporter/&quot; rel=&quot;nofollow&quot;&gt;sharepoint database exporter&lt;/a&gt;.  That makes me able to read content directly from database with a minimum level of confidence, but it ain&#039;t the case for writing.  They way Sharepoint handles its folder hierarchy is not totally clear.

Since you have a working environment, I strongly suggest to have a .NET developer create a little job that can do it using the Sharepoint API.

Now if you still want to continue your way, I remember that it seemed that all database operations in sharepoint were wrapped into stored procedures.  At least, if you can find one that you could use to perform your operations that would be safer.  Otherwise if you can isolate the code that you need from these stored proc, that could give you the &quot;how-to&quot;.

Pascal.</description>
		<content:encoded><![CDATA[<p>Even if the storage engine of sharepoint is a format that we can query and update, this is still a proprietary format.  Updating the content directly is at your own risks.<br />
The information available in this post was gathered by reverse-engineering when I built the <a href="/index.php/2007/03/13/sharepoint_2003_database_exporter/" rel="nofollow">sharepoint database exporter</a>.  That makes me able to read content directly from database with a minimum level of confidence, but it ain&#8217;t the case for writing.  They way Sharepoint handles its folder hierarchy is not totally clear.</p>
<p>Since you have a working environment, I strongly suggest to have a .NET developer create a little job that can do it using the Sharepoint API.</p>
<p>Now if you still want to continue your way, I remember that it seemed that all database operations in sharepoint were wrapped into stored procedures.  At least, if you can find one that you could use to perform your operations that would be safer.  Otherwise if you can isolate the code that you need from these stored proc, that could give you the &#8220;how-to&#8221;.</p>
<p>Pascal.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Can Kansu</title>
		<link>http://blog.dreamdevil.com/index.php/2007/04/02/sharepoint_2003_database_internal/comment-page-1/#comment-271</link>
		<dc:creator>Can Kansu</dc:creator>
		<pubDate>Wed, 24 Feb 2010 18:44:35 +0000</pubDate>
		<guid isPermaLink="false">http://192.168.10.130/index.php/2008/01/25/sharepoint_2003_database_internal/#comment-271</guid>
		<description>Hi;

Thanks for this very helpfull article. I used it alot. But I have a problem that I couldn`t solve. By using information from your article I wrote couple of scripts that eliminate spaces from DirName (Directory Names) and LeafName in Docs Table. Because we had a problem with long file and folder names. When I look at them from SQL they seem to be changed but now I can`t see the files that I changed from sql in SP. And Folders names that I changed didn`t make difference in SP. Can you think any solution for this issue.

By the way I`m working on SP 2003. Right now I reset the content index from central edministration and start full update. I`ll let you now if it makes difference.</description>
		<content:encoded><![CDATA[<p>Hi;</p>
<p>Thanks for this very helpfull article. I used it alot. But I have a problem that I couldn`t solve. By using information from your article I wrote couple of scripts that eliminate spaces from DirName (Directory Names) and LeafName in Docs Table. Because we had a problem with long file and folder names. When I look at them from SQL they seem to be changed but now I can`t see the files that I changed from sql in SP. And Folders names that I changed didn`t make difference in SP. Can you think any solution for this issue.</p>
<p>By the way I`m working on SP 2003. Right now I reset the content index from central edministration and start full update. I`ll let you now if it makes difference.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pascal</title>
		<link>http://blog.dreamdevil.com/index.php/2007/04/02/sharepoint_2003_database_internal/comment-page-1/#comment-245</link>
		<dc:creator>Pascal</dc:creator>
		<pubDate>Thu, 22 Oct 2009 18:56:20 +0000</pubDate>
		<guid isPermaLink="false">http://192.168.10.130/index.php/2008/01/25/sharepoint_2003_database_internal/#comment-245</guid>
		<description>There is a lot of linked information into a Sharepoint Database.  I would never feel safe about altering the database directly.  I&#039;d rather write a little program that uses the sharepoint API to automate it in case it cannot be done manually.

Pascal.</description>
		<content:encoded><![CDATA[<p>There is a lot of linked information into a Sharepoint Database.  I would never feel safe about altering the database directly.  I&#8217;d rather write a little program that uses the sharepoint API to automate it in case it cannot be done manually.</p>
<p>Pascal.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Will</title>
		<link>http://blog.dreamdevil.com/index.php/2007/04/02/sharepoint_2003_database_internal/comment-page-1/#comment-243</link>
		<dc:creator>Will</dc:creator>
		<pubDate>Tue, 20 Oct 2009 11:40:45 +0000</pubDate>
		<guid isPermaLink="false">http://192.168.10.130/index.php/2008/01/25/sharepoint_2003_database_internal/#comment-243</guid>
		<description>I have a number of duplicate calendar list records that I have been able to isolate.  Would running a deletion SQL command to remove from the UserData table be bad?</description>
		<content:encoded><![CDATA[<p>I have a number of duplicate calendar list records that I have been able to isolate.  Would running a deletion SQL command to remove from the UserData table be bad?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ziyad</title>
		<link>http://blog.dreamdevil.com/index.php/2007/04/02/sharepoint_2003_database_internal/comment-page-1/#comment-228</link>
		<dc:creator>Ziyad</dc:creator>
		<pubDate>Wed, 05 Aug 2009 13:11:42 +0000</pubDate>
		<guid isPermaLink="false">http://192.168.10.130/index.php/2008/01/25/sharepoint_2003_database_internal/#comment-228</guid>
		<description>Excellent writing...</description>
		<content:encoded><![CDATA[<p>Excellent writing&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pascal</title>
		<link>http://blog.dreamdevil.com/index.php/2007/04/02/sharepoint_2003_database_internal/comment-page-1/#comment-213</link>
		<dc:creator>Pascal</dc:creator>
		<pubDate>Mon, 20 Apr 2009 12:58:33 +0000</pubDate>
		<guid isPermaLink="false">http://192.168.10.130/index.php/2008/01/25/sharepoint_2003_database_internal/#comment-213</guid>
		<description>Hi, I can&#039;t tell.  

I hope you are not directly querying the database from within your webparts?  I wouldn&#039;t recommend this as if Microsoft changes its structure within an update, your code may start to fail...

Pascal.</description>
		<content:encoded><![CDATA[<p>Hi, I can&#8217;t tell.  </p>
<p>I hope you are not directly querying the database from within your webparts?  I wouldn&#8217;t recommend this as if Microsoft changes its structure within an update, your code may start to fail&#8230;</p>
<p>Pascal.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eme Eleonu</title>
		<link>http://blog.dreamdevil.com/index.php/2007/04/02/sharepoint_2003_database_internal/comment-page-1/#comment-210</link>
		<dc:creator>Eme Eleonu</dc:creator>
		<pubDate>Wed, 15 Apr 2009 17:57:34 +0000</pubDate>
		<guid isPermaLink="false">http://192.168.10.130/index.php/2008/01/25/sharepoint_2003_database_internal/#comment-210</guid>
		<description>Wow, Your article answered one burning question I have been chasing for a long time. 

Now that I can find the url to an attachement (e.g An AVI) on a list item, How do I dynamically display its preview everytime a corresponding list item is displayed?

Eme</description>
		<content:encoded><![CDATA[<p>Wow, Your article answered one burning question I have been chasing for a long time. </p>
<p>Now that I can find the url to an attachement (e.g An AVI) on a list item, How do I dynamically display its preview everytime a corresponding list item is displayed?</p>
<p>Eme</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Guy</title>
		<link>http://blog.dreamdevil.com/index.php/2007/04/02/sharepoint_2003_database_internal/comment-page-1/#comment-173</link>
		<dc:creator>Guy</dc:creator>
		<pubDate>Thu, 05 Feb 2009 16:26:28 +0000</pubDate>
		<guid isPermaLink="false">http://192.168.10.130/index.php/2008/01/25/sharepoint_2003_database_internal/#comment-173</guid>
		<description>Pascal,

Do you have any information on how I can get a list of all users, and which sub sites they are a member of (and ideally, what there membership group is?)

It&#039;s got something to do with the [UserInfo] tables, the [Webs] table and the [WebMembers] table.

Ideally the data should be like:

&#039;guy wicks&#039;, &#039;ad\guywicks&#039;, &#039;Site1&#039;, &#039;Guest&#039;
&#039;guy wicks&#039;, &#039;ad\guywicks&#039;, &#039;Site2&#039;, &#039;Contributor&#039;

etc.</description>
		<content:encoded><![CDATA[<p>Pascal,</p>
<p>Do you have any information on how I can get a list of all users, and which sub sites they are a member of (and ideally, what there membership group is?)</p>
<p>It&#8217;s got something to do with the [UserInfo] tables, the [Webs] table and the [WebMembers] table.</p>
<p>Ideally the data should be like:</p>
<p>&#8216;guy wicks&#8217;, &#8216;ad\guywicks&#8217;, &#8216;Site1&#8242;, &#8216;Guest&#8217;<br />
&#8216;guy wicks&#8217;, &#8216;ad\guywicks&#8217;, &#8216;Site2&#8242;, &#8216;Contributor&#8217;</p>
<p>etc.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mangesh</title>
		<link>http://blog.dreamdevil.com/index.php/2007/04/02/sharepoint_2003_database_internal/comment-page-1/#comment-144</link>
		<dc:creator>Mangesh</dc:creator>
		<pubDate>Fri, 02 Jan 2009 23:46:13 +0000</pubDate>
		<guid isPermaLink="false">http://192.168.10.130/index.php/2008/01/25/sharepoint_2003_database_internal/#comment-144</guid>
		<description>Hi Pascal,
Great article. Helps in understanding the DB schema. 
I have text files stored in Doc Lib. Is there any way to get handle to those via SQL and save them back after manipulation? I&#039;ve thousands of them in and writing something using API to get binary, manipulate and save back would be time consuming. I&#039;m fearful about, what will happen to version history, what will happen if someone has kept a version checked out etc issues. 
Thanks for the great insight.

Mangesh Kamath</description>
		<content:encoded><![CDATA[<p>Hi Pascal,<br />
Great article. Helps in understanding the DB schema.<br />
I have text files stored in Doc Lib. Is there any way to get handle to those via SQL and save them back after manipulation? I&#8217;ve thousands of them in and writing something using API to get binary, manipulate and save back would be time consuming. I&#8217;m fearful about, what will happen to version history, what will happen if someone has kept a version checked out etc issues.<br />
Thanks for the great insight.</p>
<p>Mangesh Kamath</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pascal</title>
		<link>http://blog.dreamdevil.com/index.php/2007/04/02/sharepoint_2003_database_internal/comment-page-1/#comment-142</link>
		<dc:creator>Pascal</dc:creator>
		<pubDate>Mon, 22 Dec 2008 23:54:28 +0000</pubDate>
		<guid isPermaLink="false">http://192.168.10.130/index.php/2008/01/25/sharepoint_2003_database_internal/#comment-142</guid>
		<description>Hi Paula,

I am not aware of a similar site that talks about the database tables of Areas in an SPS site. Also, I do not have access to a Portal site so I can&#039;t give more information.  What you could do is look for stored procedures (perhaps there is one with a meaningful name like GetAreaDetails).  

Most of the sharepoint API uses Stored Proc, these could reveal how areas are stored. 

Pascal.</description>
		<content:encoded><![CDATA[<p>Hi Paula,</p>
<p>I am not aware of a similar site that talks about the database tables of Areas in an SPS site. Also, I do not have access to a Portal site so I can&#8217;t give more information.  What you could do is look for stored procedures (perhaps there is one with a meaningful name like GetAreaDetails).  </p>
<p>Most of the sharepoint API uses Stored Proc, these could reveal how areas are stored. </p>
<p>Pascal.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paula</title>
		<link>http://blog.dreamdevil.com/index.php/2007/04/02/sharepoint_2003_database_internal/comment-page-1/#comment-141</link>
		<dc:creator>Paula</dc:creator>
		<pubDate>Sun, 21 Dec 2008 21:22:54 +0000</pubDate>
		<guid isPermaLink="false">http://192.168.10.130/index.php/2008/01/25/sharepoint_2003_database_internal/#comment-141</guid>
		<description>Hi,

This article was tremendously helpful to me to obtain data about the Sharepoint 2003 Intranet I inherited, thank you.  

Unfortunately the environment is approx 90% Areas...  

You very clearly state the above is: &quot;not about the storage of Sharepoint Portal Areas (my guess is it should look similar)&quot;. 

Could you please direct me to a link that might provide the same information as you provided above for site about areas...

Need to know the dB where the Area data is stored, also *_sites?

Need the table names of what would be the equivalent to those listed above.

Any assistance greatly appreciated.

Best,
Paula</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>This article was tremendously helpful to me to obtain data about the Sharepoint 2003 Intranet I inherited, thank you.  </p>
<p>Unfortunately the environment is approx 90% Areas&#8230;  </p>
<p>You very clearly state the above is: &#8220;not about the storage of Sharepoint Portal Areas (my guess is it should look similar)&#8221;. </p>
<p>Could you please direct me to a link that might provide the same information as you provided above for site about areas&#8230;</p>
<p>Need to know the dB where the Area data is stored, also *_sites?</p>
<p>Need the table names of what would be the equivalent to those listed above.</p>
<p>Any assistance greatly appreciated.</p>
<p>Best,<br />
Paula</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pascal</title>
		<link>http://blog.dreamdevil.com/index.php/2007/04/02/sharepoint_2003_database_internal/comment-page-1/#comment-80</link>
		<dc:creator>Pascal</dc:creator>
		<pubDate>Fri, 18 Jul 2008 15:15:00 +0000</pubDate>
		<guid isPermaLink="false">http://192.168.10.130/index.php/2008/01/25/sharepoint_2003_database_internal/#comment-80</guid>
		<description>Hi,

I have nothing handy, but let me come back to you as I may find something of have an alternative.

Does your document library has a lot of content?  Or is it connected to many other objects?

Is it Sharepoint 2003 or Sharepoint 2007?

Pascal.</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I have nothing handy, but let me come back to you as I may find something of have an alternative.</p>
<p>Does your document library has a lot of content?  Or is it connected to many other objects?</p>
<p>Is it Sharepoint 2003 or Sharepoint 2007?</p>
<p>Pascal.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John</title>
		<link>http://blog.dreamdevil.com/index.php/2007/04/02/sharepoint_2003_database_internal/comment-page-1/#comment-79</link>
		<dc:creator>John</dc:creator>
		<pubDate>Fri, 18 Jul 2008 14:44:02 +0000</pubDate>
		<guid isPermaLink="false">http://192.168.10.130/index.php/2008/01/25/sharepoint_2003_database_internal/#comment-79</guid>
		<description>That is an interesting article which has given me food for thought.

I was just wondering if you would have any pointers for deleting a folder via the database as the Sharepoint app will not allow the deletion of this particular folder. (Fallen foul of the don&#039;t call a folder &quot;Forms&quot; issue that MS are trying to get a hotfix for)</description>
		<content:encoded><![CDATA[<p>That is an interesting article which has given me food for thought.</p>
<p>I was just wondering if you would have any pointers for deleting a folder via the database as the Sharepoint app will not allow the deletion of this particular folder. (Fallen foul of the don&#8217;t call a folder &#8220;Forms&#8221; issue that MS are trying to get a hotfix for)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pascal</title>
		<link>http://blog.dreamdevil.com/index.php/2007/04/02/sharepoint_2003_database_internal/comment-page-1/#comment-5</link>
		<dc:creator>Pascal</dc:creator>
		<pubDate>Thu, 21 Jun 2007 15:41:15 +0000</pubDate>
		<guid isPermaLink="false">http://192.168.10.130/index.php/2008/01/25/sharepoint_2003_database_internal/#comment-5</guid>
		<description>It is never safe to bypass an API to write directly in the native format (in this case, SQL Server) of any software unless you are authorized and have documentation provided by the authors of the software. 

What happens if you just miss a single bit update somewhere in the database that the API would have set? The system may become unstable. One may try to use the Sharepoint stored procedures, but again, what would be the call sequence for, for example, adding a new document within a folder of a document library?

Why would you need to write directly to the Sharepoint database? perhaps there is a workaround (ex: A DTS script calling a program that uses the Sharepoint API)

Pascal.</description>
		<content:encoded><![CDATA[<p>It is never safe to bypass an API to write directly in the native format (in this case, SQL Server) of any software unless you are authorized and have documentation provided by the authors of the software. </p>
<p>What happens if you just miss a single bit update somewhere in the database that the API would have set? The system may become unstable. One may try to use the Sharepoint stored procedures, but again, what would be the call sequence for, for example, adding a new document within a folder of a document library?</p>
<p>Why would you need to write directly to the Sharepoint database? perhaps there is a workaround (ex: A DTS script calling a program that uses the Sharepoint API)</p>
<p>Pascal.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Elan</title>
		<link>http://blog.dreamdevil.com/index.php/2007/04/02/sharepoint_2003_database_internal/comment-page-1/#comment-4</link>
		<dc:creator>Elan</dc:creator>
		<pubDate>Thu, 21 Jun 2007 12:23:52 +0000</pubDate>
		<guid isPermaLink="false">http://192.168.10.130/index.php/2008/01/25/sharepoint_2003_database_internal/#comment-4</guid>
		<description>Does anyone try to put some files into document library by sql command?</description>
		<content:encoded><![CDATA[<p>Does anyone try to put some files into document library by sql command?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

