dbo.cheques_obtener_por_numero_de_cheque

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_nro_cheque int 4

SQL Script

Copy
SET QUOTED_IDENTIFIER, ANSI_NULLS ON
GO
-- =============================================
-- Author: <Samuel Gonzalez>
-- Create date: <17 Ene 2018>
-- Description: <obtener chequesBCRA por numero de cheque para ser procesados>
-- =============================================
CREATE OR ALTER PROCEDURE dbo.cheques_obtener_por_numero_de_cheque
 @p_nro_cheque int
AS
BEGIN
 SET NOCOUNT ON;

 SELECT 
    /* #0 */ c.id_cheque, 
    /* #1 */ c.cuit_firmante, 
    /* #2 */ c.Cuit_relacionado as cuit_relacionado,
    /* #3 */ c.nro_cheque,
    /* #4 */ c.fecha_rechazo,
    /* #5 */ c.importe,
    /* #6 */ c.id_causa,
    /* #7 */ c.fecha_levantamiento,
    /* #8 */ c.fecha_pago,
    /* #9 */ c.nombre_file
    from chequesBCRA c
    where (c.nro_cheque = @p_nro_cheque) and (visible = 1)

END

GO

Depends On

1

Used By

No items found