Description
Properties
| Name | Value |
|---|---|
| ANSI Nulls ON | True |
| Quoted Identifier ON | True |
| Encrypted | False |
| Execute As | |
| Assembly |
Parameters
3| Name | Data Type | Length | Description |
|---|---|---|---|
| @id_circuito_cerrado | int | 4 | |
| @id_externo | varchar | 50 | |
| @identificacion | varchar | 20 |
SQL Script
Copy
SET QUOTED_IDENTIFIER, ANSI_NULLS ON
GO
CREATE OR ALTER PROCEDURE dbo.circuito_cerrado_eliminar
@id_circuito_cerrado int,
@id_externo varchar(50),
@identificacion varchar(20)
AS
BEGIN
SET NOCOUNT ON;
update circuito_cerrado
set
activo = 0 , modified = getdate(),modified_by = @id_externo
where
identificacion = @identificacion and id_circuito_cerrado = @id_circuito_cerrado and id_circuito_cerrado = @id_circuito_cerrado
END
GO
GO
CREATE OR ALTER PROCEDURE dbo.circuito_cerrado_eliminar
@id_circuito_cerrado int,
@id_externo varchar(50),
@identificacion varchar(20)
AS
BEGIN
SET NOCOUNT ON;
update circuito_cerrado
set
activo = 0 , modified = getdate(),modified_by = @id_externo
where
identificacion = @identificacion and id_circuito_cerrado = @id_circuito_cerrado and id_circuito_cerrado = @id_circuito_cerrado
END
GO
Depends On
1Used By
No items found