CNCEC_SUBQHSE_WUHUAN/DataBase/进度数据初始化脚本/清空进度数据脚本.sql

19 lines
599 B
Transact-SQL

--清空库数据
delete from [dbo].[WBS_WbsSetMatchCostControlInit]
delete from WBS_CostControlInit
delete from WBS_WbsSetInit
delete from Wbs_UnitProjectInit
delete from [dbo].[WBS_CnProfessionInit]
GO
--清空项目数据
delete from [dbo].[WBS_CostControlDetailHistory]
delete from WBS_CostControlParentDetail
delete from [dbo].[WBS_CostControlDetail]
delete from [dbo].[WBS_WbsSetMatchCostControl]
delete from [dbo].[WBS_CostControl]
delete from [dbo].[Wbs_WbsSet]
delete from [dbo].[Wbs_UnitProject]
delete from WBS_CnProfession
delete from [dbo].[Project_Installation] where InstallationName!='总图'
GO