Description
Properties
| Name | Value |
|---|---|
| ANSI Nulls ON | True |
| Quoted Identifier ON | True |
| Encrypted | False |
| Execute As | |
| Assembly |
Parameters
3| Name | Data Type | Length | Description |
|---|---|---|---|
| @p_id_cendeu_cancela | int | 4 | |
| @p_id_padron | int | 4 | |
| @p_usuario | int | 4 |
SQL Script
Copy
SET QUOTED_IDENTIFIER, ANSI_NULLS ON
GO
CREATE OR ALTER PROCEDURE dbo.backend_visible_cancela_cendeu
@p_id_cendeu_cancela int,
@p_id_padron int,
@p_usuario int
AS
BEGIN
SET NOCOUNT ON;
update cendeu_cancela
set vigente = iif(vigente='0', '1', '0'),
modified = GETDATE(),
modified_by = @p_usuario
where id_cendeu_cancela = @p_id_cendeu_cancela
END
GO
GO
CREATE OR ALTER PROCEDURE dbo.backend_visible_cancela_cendeu
@p_id_cendeu_cancela int,
@p_id_padron int,
@p_usuario int
AS
BEGIN
SET NOCOUNT ON;
update cendeu_cancela
set vigente = iif(vigente='0', '1', '0'),
modified = GETDATE(),
modified_by = @p_usuario
where id_cendeu_cancela = @p_id_cendeu_cancela
END
GO
Depends On
1Used By
No items found