dbo.obtener_bancos_de_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 11

SQL Script

Copy
SET QUOTED_IDENTIFIER, ANSI_NULLS ON
GO
-- =============================================
-- Author: <Samuel Gonzalez>
-- Create date: <26 Ene 2018>
-- Description: <Obtener todos los bancos de cuit>
-- =============================================
CREATE OR ALTER PROCEDURE dbo.obtener_bancos_de_cuit 
 @p_cuit varchar(11)
AS
BEGIN
 SET NOCOUNT ON;

    select distinct e.email, e.cod_banco, e.nombre from cendeu c 
    inner join EntidadesBancarias e on c.codigo_ent = e.cod_banco
    where (c.iden = @p_cuit) and (c.vigente = 1)
END

GO

Used By

No items found