dbo.backend_CIUU_porcentajes

Description

Properties

Name Value
ANSI Nulls ON

True

Quoted Identifier ON

True

Encrypted

False

Execute As
Assembly

Parameters

1
Name Data Type Length Description
@nada char 1

SQL Script

Copy
SET QUOTED_IDENTIFIER, ANSI_NULLS ON
GO

CREATE OR ALTER PROCEDURE dbo.backend_CIUU_porcentajes
@nada char(1) = null

AS
BEGIN
    SET NOCOUNT ON;
  select a.cod_ramo, b.descripcion as ramo, 
         a.porcentaje
    from porcentajes_por_ramo a
    left join ramos b on b.cod_ramo = a.cod_ramo and b.tipo_ramo = 'R' 
    where a.cod_ramo > 100
      order by a.cod_ramo
END

GO

Used By

No items found