Description
Properties
| Name | Value |
|---|---|
| ANSI Nulls ON | True |
| Quoted Identifier ON | True |
| Encrypted | False |
| Execute As | |
| Assembly |
Parameters
4| Name | Data Type | Length | Description |
|---|---|---|---|
| @p_cliente | int | 4 | |
| @p_fecha | date | 3 | |
| @p_cuit | varchar | 20 | |
| @score | varchar | 10 |
SQL Script
Copy
SET QUOTED_IDENTIFIER, ANSI_NULLS ON
GO
CREATE OR ALTER PROCEDURE dbo.pe_actualizar_score
@p_cliente int,
@p_fecha date,
@p_cuit varchar(20),
@score varchar(10)
AS
BEGIN
SET NOCOUNT ON;
update pedidos_enriquecimiento set
score = @score
where cuit = @p_cuit
and cliente = @p_cliente
and fecha_proceso = @p_fecha
END
GO
GO
CREATE OR ALTER PROCEDURE dbo.pe_actualizar_score
@p_cliente int,
@p_fecha date,
@p_cuit varchar(20),
@score varchar(10)
AS
BEGIN
SET NOCOUNT ON;
update pedidos_enriquecimiento set
score = @score
where cuit = @p_cuit
and cliente = @p_cliente
and fecha_proceso = @p_fecha
END
GO
Depends On
2Used By
No items found