dbo.recomendadorCredito_

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.recomendadorCredito_
 @p_cliente int 
AS
BEGIN
 SET NOCOUNT ON;

    select LN_cliente_productos.producto 
  from LN_cliente_productos 
  inner join LN_productos on
   LN_cliente_productos.producto = LN_productos.producto
  where LN_cliente_productos.activo = 1
  and LN_productos.visible = 1
  and LN_productos.producto_id = 'recomendadorCredito'
  and LN_cliente_productos.cliente = @p_cliente
END
GO

Used By

No items found