dbo.api_info_formal_cuit

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_Cuit varchar 20

SQL Script

Copy
SET QUOTED_IDENTIFIER, ANSI_NULLS ON
GO
CREATE OR ALTER PROCEDURE dbo.api_info_formal_cuit
@p_Cuit varchar(20)
AS
BEGIN
    SET NOCOUNT ON;
 

 select  nombre_persona,c02_fecha_nac as fecha_nacimiento,identificacion,fecha_defuncion
 from padrones inner join datos_personas on datos_personas.c01_cuit = identificacion
 where identificacion = @p_Cuit and identificador in(select identificador from identificadores where country_code = 'AR') and habilitado = 1
    
END

GO

Used By

No items found