Description
Properties
| Name | Value |
|---|---|
| ANSI Nulls ON | True |
| Quoted Identifier ON | True |
| Encrypted | False |
| Execute As | |
| Assembly |
Parameters
1| Name | Data Type | Length | Description |
|---|---|---|---|
| @p_cliente | int | 4 |
SQL Script
Copy
SET QUOTED_IDENTIFIER, ANSI_NULLS ON
GO
CREATE OR ALTER PROCEDURE dbo.LN_Panel_Control_SAAS_file_delete
@p_cliente int = 515494256
AS
BEGIN
SET NOCOUNT ON;
declare @created datetime = null
set @created = (select MAX(created) from LN_Panel_Control_Coface where cliente = @p_cliente)
if @created is not null
begin
delete from ln_panel_control_coface where cliente = @p_cliente and created < @created
end
END
GO
GO
CREATE OR ALTER PROCEDURE dbo.LN_Panel_Control_SAAS_file_delete
@p_cliente int = 515494256
AS
BEGIN
SET NOCOUNT ON;
declare @created datetime = null
set @created = (select MAX(created) from LN_Panel_Control_Coface where cliente = @p_cliente)
if @created is not null
begin
delete from ln_panel_control_coface where cliente = @p_cliente and created < @created
end
END
GO
Depends On
1Used By
No items found