1.新建自定义表结构 CREATE TYPE [dbo].[HBForHBGHDR] AS TABLE( [序号] [int] NULL, [客户编号] [varchar](15) NULL ) GO 2.建立存储过程 alter PROCEDURE UP_DRGHHB @HBList HBForHBGHDR readonly, @returnCode varchar(10) output, @returnMsg varchar(50) output AS BEGIN -- SET NOCOUN…