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 | |
| @nivel_socioconomico | varchar | 200 |
SQL Script
Copy
SET QUOTED_IDENTIFIER, ANSI_NULLS ON
GO
CREATE OR ALTER PROCEDURE dbo.pe_actualizar_nivel_socioeconomico
@p_cliente int,
@p_fecha date,
@p_Cuit varchar(20),
@nivel_socioconomico varchar(200)
AS
BEGIN
SET NOCOUNT ON;
update pedidos_enriquecimiento
set nivel_socioeconomico = @nivel_socioconomico
where pedidos_enriquecimiento.cuit = @p_cuit
and cliente = @p_cliente
and fecha_proceso = @p_fecha
END
GO
GO
CREATE OR ALTER PROCEDURE dbo.pe_actualizar_nivel_socioeconomico
@p_cliente int,
@p_fecha date,
@p_Cuit varchar(20),
@nivel_socioconomico varchar(200)
AS
BEGIN
SET NOCOUNT ON;
update pedidos_enriquecimiento
set nivel_socioeconomico = @nivel_socioconomico
where pedidos_enriquecimiento.cuit = @p_cuit
and cliente = @p_cliente
and fecha_proceso = @p_fecha
END
GO
Depends On
1Used By
No items found