Solved

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

Posted on 2010-08-31
2
612 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 10

Expert Comment

by:shahzadbux
ID: 33568723
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
ID: 33569198
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

Percona Live Europe 2017 | Sep 25 - 27, 2017

The Percona Live Open Source Database Conference Europe 2017 is the premier event for the diverse and active European open source database community, as well as businesses that develop and use open source database software.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article shows gives you an overview on SQL Server 2016 row level security. You will also get to know the usages of row-level-security and how it works
A Stored Procedure in Microsoft SQL Server is a powerful feature that it can be used to execute the Data Manipulation Language (DML) or Data Definition Language (DDL). Depending on business requirements, a single Stored Procedure can return differe…
Familiarize people with the process of utilizing SQL Server functions from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Ac…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

635 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