dbo.backend_modificar_score_porcentajes_afectacion

Description

Properties

Name Value
ANSI Nulls ON

True

Quoted Identifier ON

True

Encrypted

False

Execute As
Assembly

Parameters

4
Name Data Type Length Description
@porcentaje_0 decimal 5
@afecta_0 bit 1
@porcentaje_1 decimal 5
@afecta_1 bit 1

SQL Script

Copy
SET QUOTED_IDENTIFIER, ANSI_NULLS ON
GO

CREATE OR ALTER PROCEDURE dbo.backend_modificar_score_porcentajes_afectacion
@porcentaje_0 decimal(3,1),
@afecta_0 bit,
@porcentaje_1 decimal(3,1),
@afecta_1 bit
AS

BEGIN
       SET NOCOUNT ON;
  update score_porcentajes_afectacion set
  porcentaje = @porcentaje_0 where afecta_directo = @afecta_0
  update score_porcentajes_afectacion set
  porcentaje = @porcentaje_1 where afecta_directo = @afecta_1
END

GO

Used By

No items found