设置首页  |   加入收藏  |  联系我们   
您的位置: 主页>企业应用>Sharepoint>正文
SharePoint 2007 Databases (Core Content Tables)(转)
文章来源:  编辑:  发布时间:2007-11-27

The classic naming convention of SharePoint 2003 (PortalName_Prof, PortalName_Serv and PortalName_Site) is no longer applicable to SharePoint 2007. What used to reside under “_PROF” and “_SERV” databases now resides under Shared Services Database in SharePoint 2007. All content of “_Site” database is moved to content database in SharePoint 2007.

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,

 
Tags: SharePoint Site of and is Collection table information

Google
 
上一篇: SharePoint v3:忘掉模拟用户Impersonate,SPSecurity.RunWithElevatedPrivileges来了   下一篇: 怎么样在网站集的首页上显示出我的所有任务
【返回顶部】 【打印】 【大】 【中】 【小】 【关闭】

 我来说两句
用户名: 新注册) 密码: 匿名评论 [论坛讨论]
评论内容:(不能超过250字,需审核后才会公布,请自觉遵守互联网相关政策法规。
 相关文章
 热门文章

 
版权所有  2005-2006  Linux集中营  闽ICP备07500055号