dbo.LN_contrapartes_idioma

Description

Properties

Name Value
ANSI Nulls ON

True

Quoted Identifier ON

True

Encrypted

False

Execute As
Assembly

Parameters

2
Name Data Type Length Description
@p_contraparte int 4
@p_codigo_idioma varchar 3

SQL Script

Copy
SET QUOTED_IDENTIFIER, ANSI_NULLS ON
GO
-- =============================================
-- Author: <Author,,Name>
-- Create date: <Create Date,,>
-- Description: <Description,,>
-- =============================================
CREATE OR ALTER PROCEDURE dbo.LN_contrapartes_idioma 
 -- Add the parameters for the stored procedure here
 @p_contraparte         int = null,
 @p_codigo_idioma        varchar(3) = null


AS
BEGIN
 -- SET NOCOUNT ON added to prevent extra result sets from
 -- interfering with SELECT statements.
 SET NOCOUNT ON;

    -- Insert statements for procedure here
 if ( @p_contraparte > 0 AND (@p_codigo_idioma = 'spa' OR @p_codigo_idioma = 'por' OR @p_codigo_idioma = 'eng') ) 
  update LN_contrapartes set codigo_idioma = @p_codigo_idioma where LN_contrapartes.contraparte = @p_contraparte
 
END
GO

Depends On

1

Used By

No items found