Files
SGGL_SHJ/DataBase/版本日志/SGGLDB_V2023-11-01.sql
T
2023-11-01 23:30:44 +08:00

19 lines
690 B
Transact-SQL

update PHTGL_ContractTrack set TotalCostFixedComprehensiveUnitPrice =ROUND(TotalCostFixedComprehensiveUnitPrice ,2) where TotalCostFixedComprehensiveUnitPrice is not null ;
go
update PHTGL_ContractTrack set MainMaterialCost =ROUND(MainMaterialCost ,2) where MainMaterialCost is not null ;
go
update PHTGL_ContractTrack set TotalPrice =ROUND(TotalPrice ,2) where TotalPrice is not null ;
alter table dbo.PHTGL_ContractTrack
alter column TotalCostFixedComprehensiveUnitPrice decimal(18, 2) null
go
alter table dbo.PHTGL_ContractTrack
alter column MainMaterialCost decimal(18, 2) null
go
alter table dbo.PHTGL_ContractTrack
alter column TotalPrice decimal(18, 2) null
go