Files
workspace/code/fms/sql/fms_drop_s_rule.sql
T
2026-09-19 21:17:02 +08:00

23 lines
933 B
Transact-SQL
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
/* ============================================================================
删除废弃表 s_rule
----------------------------------------------------------------------------
背景:删除策略重构(FMS删除策略重构设计.md v1.2)用 s_delete_rule 取代了
旧的泛化规则表 s_rule。s_rule 已无任何读取方(前端旧概念、后端引用均已移除),
且经核实库中行数为 0,可直接删除。
执行前已确认:
- catalog = FMS(RunSqlFile 自带校验)
- s_rule 行数 = 0
- s_delete_rule 已存在(新表就位)
执行:fms-api 目录下
java -cp "tools/migration/mssql-jdbc-13.4.0.jre11.jar" tools/migration/RunSqlFile.java \
../sql/fms_drop_s_rule.sql
============================================================================ */
if object_id('dbo.s_rule', 'U') is not null
begin
drop table dbo.s_rule;
end
GO