Solved

sharepoint documents library where is the file saved in the sharepoint database

Posted on 2010-08-31
2
544 Views
Last Modified: 2012-05-10
sharepoint documents library. what table and column is the file saved to in the sharepoint wss_Content database?

Thanks!
0
Comment
Question by:cstratton
2 Comments
 
LVL 10

Expert Comment

by:shahzadbux
Comment Utility
found this http://msdn.microsoft.com/en-us/library/bb931737(v=office.12).aspx

not sure if it applies to your version of sharepoint.

would add that its not recommended (or supported) by microsoft to make changes to the db directly!
0
 

Accepted Solution

by:
cstratton earned 0 total points
Comment Utility
thanks, I found a solution that works for me.

Sharepoint Server 2007

--content contains the file
select DirName,LeafName,nvarchar7 as Title,MetaInfo as Content
from docs
join DocStreams
on Docs.SiteId = DocStreams.SiteId
and Docs.Id = DocStreams.Id
Join UserData
on Docs.SiteId = UserData.tp_SiteId
and Docs.DirName = UserData.tp_DirName
and Docs.LeafName = UserData.tp_LeafName
where ListId = '0B9F3F3D-954D-43DF-812E-42AC49FBD610'
and LeafName not like '%.aspx' and LeafName not like '%.xsn'
and Extension <> ''
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Introduction In my previous article (http://www.experts-exchange.com/Microsoft/Development/MS-SQL-Server/SSIS/A_9150-Loading-XML-Using-SSIS.html) I showed you how the XML Source component can be used to load XML files into a SQL Server database, us…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
Via a live example combined with referencing Books Online, show some of the information that can be extracted from the Catalog Views in SQL Server.
Viewers will learn how the fundamental information of how to create a table.

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now