共用方式為


擷取與專案連結的 Windows SharePoint Services 2.0 工作區

 

適用版本: Project Server 2010

上次修改主題的時間: 2010-12-15

重要

此為選用性程序,除非您希望移轉 Windows SharePoint Services 2.0 專案工作區網站和內容,才需執行此程序。

指令碼 A4 會取得 Microsoft Office Project Server 2003 資料庫中「專案」資料表的資料快照,然後將資料儲存在此指令碼動態建立的資料表中。指令碼 A4 會列出 Project Server 2003 資料庫中所有具有關聯專案工作區網站的專案。

請在更新兩個 USE 陳述式之後執行指令碼 A4,以指向上述建立的驗證資料庫和打算移轉的 Microsoft Office Project Server 2003 資料庫名稱。

指令碼 A4

/*------------------------------------------------------------
-- Script A4: Capture WSS2 Project Workspaces Data Snapshot
-- Project2003_Projects_With_WSS_Sites.sql
-- List all Projects with Associated WSS workspace sites
------------------------------------------------------------------*/
USE ProjectServer_Migration_Data_Validation
IF EXISTS (SELECT id FROM dbo.sysobjects WHERE id = OBJECT_ID(N'Migration_PS2003_ProjectWorkspaces')
AND OBJECTPROPERTY(id, N'IsUserTable') = 1)
DROP TABLE dbo.Migration_PS2003_ProjectWorkspaces
GO
USE ProjectServer_2003

SELECT [PROJ_NAME]
,[WPROJ_ID]
      ,[WPROJ_STS_SUBWEB_NAME]
      ,[WPROJ_ISSUE_LIST_NAME]
      ,[WPROJ_RISK_LIST_NAME]
      INTO ProjectServer_Migration_Data_Validation.dbo.Migration_PS2003_ProjectWorkspaces
   FROM [MSP_WEB_PROJECTS] P, dbo.MSP_WEB_STS_SERVERS W
  where [WPROJ_STS_SUBWEB_NAME] IS NOT NULL
  and p.[WSTS_SERVER_ID] = w.[WSTS_SERVER_ID]