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 | |
| @p_fecha_inicio_acti | date | 3 |
SQL Script
Copy
SET QUOTED_IDENTIFIER, ANSI_NULLS ON
GO
/*
exec pe_actualizar_inicio_actividad '2144275673', '2019-04-12','30629462097','1988-12-01'
*/
CREATE OR ALTER PROCEDURE dbo.pe_actualizar_inicio_actividad
@p_cliente int,
@p_fecha date,
@p_Cuit varchar(20),
@p_fecha_inicio_acti date
AS
BEGIN
SET NOCOUNT ON;
update pedidos_enriquecimiento
set fecha_inicio_actividad = @p_fecha_inicio_acti
where pedidos_enriquecimiento.cuit = @p_cuit
and cliente = @p_cliente
and fecha_proceso = @p_fecha
END
GO
GO
/*
exec pe_actualizar_inicio_actividad '2144275673', '2019-04-12','30629462097','1988-12-01'
*/
CREATE OR ALTER PROCEDURE dbo.pe_actualizar_inicio_actividad
@p_cliente int,
@p_fecha date,
@p_Cuit varchar(20),
@p_fecha_inicio_acti date
AS
BEGIN
SET NOCOUNT ON;
update pedidos_enriquecimiento
set fecha_inicio_actividad = @p_fecha_inicio_acti
where pedidos_enriquecimiento.cuit = @p_cuit
and cliente = @p_cliente
and fecha_proceso = @p_fecha
END
GO
Depends On
1Used By
No items found