dbo.cheques_insertar_bajas

Description

Properties

Name Value
ANSI Nulls ON

True

Quoted Identifier ON

True

Encrypted

False

Execute As
Assembly

Parameters

3
Name Data Type Length Description
@p_nro_cheque int 4
@p_nombre_file varchar 200
@p_nro_linea int 4

SQL Script

Copy
SET QUOTED_IDENTIFIER, ANSI_NULLS ON
GO

CREATE OR ALTER PROCEDURE dbo.cheques_insertar_bajas
--@out_error_number INT = 0 OUTPUT,
@p_nro_cheque int,
@p_nombre_file varchar(200),
@p_nro_linea int
AS

BEGIN
    SET NOCOUNT ON;

    BEGIN TRY
  INSERT INTO chequesBCRA_procesamiento_bajas
   ( nro_cheque, nombre_file, created, nro_linea)
  VALUES 
   (@p_nro_cheque, @p_nombre_file, getdate(), @p_nro_linea)
        SELECT 'ok' as ok
    END TRY
    BEGIN CATCH
        SELECT ERROR_MESSAGE() as error
    END CATCH
END

GO

Used By

No items found