dbo.chequesBCRA_alta_bajas

Description

Properties

Name Value
ANSI Nulls ON

True

Quoted Identifier ON

True

Encrypted

False

Execute As
Assembly

Parameters

2
Name Data Type Length Description
@accion nvarchar 2
@contenido nvarchar 100

SQL Script

Copy
SET QUOTED_IDENTIFIER, ANSI_NULLS ON
GO
CREATE OR ALTER PROCEDURE dbo.chequesBCRA_alta_bajas
    -- Add the parameters for the stored procedure here
    @accion nvarchar(2) = NULL,
    @contenido nvarchar(100) = NULL

AS
BEGIN
    -- SET NOCOUNT ON added to prevent extra result sets from
    -- interfering with SELECT statements.
    SET NOCOUNT ON
    if(@accion = 'A')
    BEGIN
        insert into chequesBCRA_txt_altas(contenido) values(@contenido)
    end
    if(@accion = 'B')
    BEGIN
        insert into chequesBCRA_txt_bajas(contenido) values(@contenido)
    end
END
GO

Used By

No items found