<!-- 提交数据,只删除暂存表 -->
<update id="tjdata_delzc" parameterClass="qynbbl">
begin
delete from ent_anche_ind_capital_info_tmp t2 where t2.cid= #cid#;
delete from ent_anche_ind_party_info_tmp t3 where t3.cid= #cid#;
delete from ent_anche_ind_lic_info_tmp t4 where t4.cid= #cid#;
delete from ent_anche_ind_web_info_tmp t5 where t5.cid= #cid#;
delete from ent_anche_ind_info_tmp t1 where t1.cid= #cid#;
end;
</update>
<update id="tjdata_delzc" parameterClass="qynbbl">
begin
delete from ent_anche_ind_capital_info_tmp t2 where t2.cid= #cid#;
delete from ent_anche_ind_party_info_tmp t3 where t3.cid= #cid#;
delete from ent_anche_ind_lic_info_tmp t4 where t4.cid= #cid#;
delete from ent_anche_ind_web_info_tmp t5 where t5.cid= #cid#;
delete from ent_anche_ind_info_tmp t1 where t1.cid= #cid#;
end;
</update>
本文介绍了一种通过SQL脚本批量删除与特定标识符(#cid#)相关的多个暂存表中的数据的方法。涉及的表格包括资本信息表、关联方信息表、许可信息表、网页信息表以及基本信息表。
8790

被折叠的 条评论
为什么被折叠?



