T3新建年度提示列名 bAssistant1 無效
發(fā)布時間:2025-1-20
人工客服
特價活動:>>>> 用友U8、T6、T+、T3軟件產(chǎn)品4折優(yōu)惠,暢捷通T+cloud、好會計(jì)、易代賬、好業(yè)財(cái)、好生意云產(chǎn)品6-8折優(yōu)惠。
新建年度提示列名 bAssistant1 無效
常用腳本:
A、找到 code 表對應(yīng)的約束去刪除
B、或執(zhí)行語句:(將所有數(shù)據(jù)庫名和約束名替換成要刪除的)
USE [數(shù)據(jù)庫名]
GO
IF EXISTS (SELECT * FROM dbo.sysobjects WHERE id = OBJECT_ID(N'[約束名]') AND type
= 'D')
BEGIN
ALTER TABLE [dbo].[code] DROP CONSTRAINT [約束名]
END
GO
C、對上年執(zhí)行:
alter table code drop column bAssistant1
alter table code drop column bAssistant2
alter table code drop column bAssistant3
alter table code drop column bAssistant4
alter table code drop column bAssistant5
alter table code drop column bAssistant6
alter table code drop column bAssistant7