08 2023 档案

摘要:存储过程: ALTER PROCEDURE [dbo].[usp_test] @test int output AS BEGIN select @test =12; select 11; END 对应关系: 1.参数out,output均可以,都对应Dapper: parameters.Add("@ 阅读全文
posted @ 2023-08-31 15:10 Shapley 阅读(69) 评论(0) 推荐(0) 编辑
摘要:CREATE PROC dbo.proc1 AS SET XACT_ABORT ON; BEGIN TRY BEGIN TRAN --body; COMMIT END TRY BEGIN CATCH DECLARE @ErrorNumber int ,@ErrorSeverity int ,@Err 阅读全文
posted @ 2023-08-18 13:21 Shapley 阅读(7) 评论(0) 推荐(0) 编辑