08 2023 档案
摘要:存储过程: ALTER PROCEDURE [dbo].[usp_test] @test int output AS BEGIN select @test =12; select 11; END 对应关系: 1.参数out,output均可以,都对应Dapper: parameters.Add("@
阅读全文
摘要: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
阅读全文