tengo el sgte sp y al ejecutar me da eun error
create proc eliminopaso
(
@folio int
)
as
begin
begin tran
delete paso where folio=@folio
end
AL EJECUTAR DA EL SIGUIENTE ERROR
Msg 266, Level 16, State 2, Procedure eliminopaso, Line 0
Transaction count after EXECUTE indicates that a COMMIT or ROLLBACK TRANSACTION
statement is missing. Previous count = 0, current count = 1.