Sharepoint2007核心表结构
2007-08-31 20:33
134 查看
SharePoint 2007 Databases (Core Content Tables) |
In my test install of MOSS, I found out that MOSS install actually created 6 databases altogether (including all content, configuration and shared services databases).
Here is the Mapping of SharePoint 2003 Core Content Tables to SharePoint 2007 Core Content Tables.
SharePoint 2003 (SPS) SharePoint 2007 (MOSS)
Sites Sites
Webs Webs
Lists AllLists
UserData AllUserData
Site:
The Site table contains information about SharePoint site collections. Information such as Site Collection Owner, Full URL, Site Collection ID, and 2nd contact information is stored in this table.
Webs:
Webs table contains information on SharePoint Web Sites.
AllLists:
AllLists table contains information of SharePoint lists such as list’s name, list’s description and list’s item count.
AllUserData:
AllUserData contains information on Built-in fields (version, author, editor, etc…) and custom fields. AllUserData is a very wide table with almost 200 columns.
Note: Direct database access and modification is not supported by Microsoft, so use the SharePoint Object Model whenever possible.
Some Examples:
SELECT
Id, -- Site Collection ID
OwnerId, -- relates to tp_ID in UserInfo table
TimeCreated, -- Time this Site Collection was created.
RootWebId -- WebId of top level site in Site Collection
FROM
Sites
SELECT
Id, -- Web Site's WebID
SiteId, -- Site Collection's ID
FullUrl, -- relative url of site from main SharePoint site.
ParentWebID, -- Web Site's Parent's WebID
Title, -- Title of Web Site
TimeCreated, -- Time this Web Site was created.
Description, -- Description
MasterUrl -- Master Page Url.
FROM
Webs
SELECT
tp_WebId, -- Web Site's ID
tp_ID, -- List ID
tp_Title, -- Title
tp_Created, -- Time list created.
tp_ItemCount -- Count of items in List
From
AllLists
相关文章推荐
- WebChart网页局域网聊天系列(二):服务器结构及核心代码
- 安卓源代码核心结构
- 认识solr结构,了解核心的文件目录
- 第十五章 Linux核心数据结构
- C#核心编程结构二
- ASP.NET MVC 入门2、项目的目录结构与核心的DLL
- Linux核心数据结构
- CGAL几何库 半边网格数据结构 模板类 设计核心思想
- ASP.NET MVC 入门2、项目的目录结构与核心的DLL
- spring核心框架体系结构
- Lu核心库系统结构及输出函数
- Linux核心数据结构
- spring核心框架体系结构(各个jar包作用)
- spring核心框架体系结构(各个jar包作用)
- TensorFlow Python API解析:图的核心数据结构
- JAVA基础【3.7】《Java核心技术1》Java的基本程序设计结构-输入输出
- FFmpeg框架解析及核心数据结构
- 代码结构组织的核心思想
- 再论JAVA中核心数据结构——List
- SpringMVC核心控制器DispatcherServlet类结构源码阅读