CREATE PROCEDURE cgfpjz( @adate datetime, @idigest varchar(15), @vid varchar(25),@code varchar(25), @isymoney money, @cmaker varchar(10), @cpersonname varchar(25),@cvenname varchar(25)  
AS<br> <br> Insert into cgclosebill (ddate,idigest, vid,code,imoney,cmaker,cpersonname,cvenname,cvouchtype,isauto) <br> values ( @adate,@idigest,@vid,@code, @isymoney ,@cmaker ,@cpersonname,@cvenname,'4','1'