dbo.Resultado_aa_

Description

Properties

Name Value
ANSI Nulls ON

True

Quoted Identifier ON

True

Encrypted

False

Execute As
Assembly

SQL Script

Copy
SET QUOTED_IDENTIFIER, ANSI_NULLS ON
GO
CREATE OR ALTER PROCEDURE dbo.Resultado_aa_
 
AS
BEGIN
 SET NOCOUNT ON;
 select REPLACE([Campo 1],',',' ')          as 'Campo 1' ,
        REPLACE([Tipo enviado],',',' ')     as 'Tipo enviado',
     REPLACE([DNI enviado],',',' ')      as 'DNI enviado',
     REPLACE([Apellido enviado],',',' ') as 'Apellido enviado',
     REPLACE([Nombre enviado],',',' ')   as 'Nombre enviado',
        [CUIT/CUIL],
     [DNI validado],
     REPLACE([Nombre validado],',',' ')  as 'Nombre validado',
     [Fallecido], 
     isnull(convert(varchar,[Fecha Fallecimiento],103),'') as 'Fecha fallecimiento',
     iif(fallecido = 'SI' and [fecha fallecimiento] is  null, 'AFIP no informa fallecimiento','') as 'Leyenda'
   from resultado_aa
   where (fallecido = 'SI' and [fecha fallecimiento] is  null)
END
GO

Depends On

1

Used By

No items found