dbo.obtener_card_score_PF

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 13

SQL Script

Copy
SET QUOTED_IDENTIFIER, ANSI_NULLS ON
GO
CREATE OR ALTER PROCEDURE dbo.obtener_card_score_PF
@p_cuit varchar(13)
AS

BEGIN

    SET NOCOUNT ON;

  select  distinct nombre_persona as nombre, 
    convert(varchar(10),datos_personas.c02_fecha_nac,103) AS fecha_nac,
    padrones.sexo as sexo,
    civil.cvl_nombre as estado_civil
  from datos_personas

  left join padrones
    on identificacion = c01_cuit and habilitado = 1

  left join civil 
    on civil.cvl_codigo = DATOS_PERSONAS.cvl_codigo

  where c01_cuit = @p_cuit

END

GO

Used By

No items found