我想调试一个SQL SERVER的存储过程,我的SQL SERVER 版本是 2008,我 的存储过程如下
如图,我在执行到 SET ANSI_NULLS ON 那行程序就退出了
我的存储过程
USE [jgc2]
GO
/****** Object: StoredProcedure [dbo].[procdebugtrigger] Script Date: 06/26/2024 15:00:58 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
ALTER procedure [dbo].[procdebugtrigger]
as
begin
INSERT INTO process_main ( process_No, Prod_No, Prod_Add, Batch_No, process_Num, std_price, process_cost, std_per, process_date, process_bywho, process_memo, packpage_price, clje, is_out ) VALUES ( '2024061901142144', '31000424', '福建', '123123', 100.000, 98.75580, 9875.58, 100.00, '2024-6-19 14:21:44.109', '01', '', 0.00, 0.00, 'no' )
INSERT INTO process_Sub ( process_no, Prod_No, Prod_Add, Batch_No, process_Num, Lest_Num, std_price, dep_price, produce_price, produce_date, source, att_no ) VALUES ( '2024061901142144', '31000424', '福建', '20231203', 100.000, 100.000, 98.755800, 117.630000, 0.00, '2023-12-14 0:0:0.000', 'in', 'BACK202403302300' )
end