Description
Properties
| Name | Value |
|---|---|
| ANSI Nulls ON | True |
| Quoted Identifier ON | True |
| Encrypted | False |
| Execute As | |
| Assembly |
Parameters
2| Name | Data Type | Length | Description |
|---|---|---|---|
| @cliente | int | 4 | |
| @indicador | int | 4 |
SQL Script
Copy
SET QUOTED_IDENTIFIER, ANSI_NULLS ON
GO
-- =============================================
-- Author: Marita Soria
-- Create date: 26/12/2022
-- Description: Trae los datos de la tabla ln_cliente_nivel del cliente/indicador solicitado
-- =============================================
--exec [LN_cliente_nivel_] 861672084,474
--update LN_cliente_nivel set desde = 1, hasta = 5 where id =
CREATE OR ALTER PROCEDURE dbo.LN_cliente_nivel_
@cliente int,
@indicador int
AS
BEGIN
SET NOCOUNT ON;
select id, cliente,desde,hasta,texto,texto_largo,titulo,color_fondo,color_texto,indicador
from ln_cliente_nivel
where indicador = @indicador and cliente = @cliente
order by desde
END
GO
GO
-- =============================================
-- Author: Marita Soria
-- Create date: 26/12/2022
-- Description: Trae los datos de la tabla ln_cliente_nivel del cliente/indicador solicitado
-- =============================================
--exec [LN_cliente_nivel_] 861672084,474
--update LN_cliente_nivel set desde = 1, hasta = 5 where id =
CREATE OR ALTER PROCEDURE dbo.LN_cliente_nivel_
@cliente int,
@indicador int
AS
BEGIN
SET NOCOUNT ON;
select id, cliente,desde,hasta,texto,texto_largo,titulo,color_fondo,color_texto,indicador
from ln_cliente_nivel
where indicador = @indicador and cliente = @cliente
order by desde
END
GO
Depends On
1Used By
No items found