/*对*dt库下的所有数据表删除docuemttype为空和documenttype为MD,PD,ET的数据:delete from 表名 where length(documenttype)<2 or documenttype is null or documenttype in ('et','md','pd'); */DELIMITER $$USE `数据库名称1`$$ DROP PROCEDURE IF EXISTS `存储过程名称1`$$CREATE PROCEDURE `存储过程名称1…