Description
Properties
| Name | Value |
|---|---|
| ANSI Nulls ON | True |
| Quoted Identifier ON | True |
| Encrypted | False |
| Execute As | |
| Assembly |
Parameters
5| Name | Data Type | Length | Description |
|---|---|---|---|
| @p_entidad_juridica | int | 4 | |
| @p_nombre_contacto | varchar | 100 | |
| @p_email_contacto | varchar | 50 | |
| @p_telefono1 | varchar | 20 | |
| @p_idioma | smallint | 2 |
SQL Script
Copy
SET QUOTED_IDENTIFIER, ANSI_NULLS ON
GO
-- =============================================
-- Author: <Author,,Name>
-- Create date: <Create Date,,>
-- Description: <Description,,>
-- =============================================
CREATE OR ALTER PROCEDURE dbo.LED_update_profile
-- Add the parameters for the stored procedure here
@p_entidad_juridica int,
@p_nombre_contacto varchar(100),
@p_email_contacto varchar(50),
@p_telefono1 varchar(20),
@p_idioma smallint
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_entidad_juridica > 0) BEGIN
UPDATE gdl_entidad_juridica_legajo SET
nombre_contacto = @p_nombre_contacto,
email_contacto = @p_email_contacto,
telefono1 = @p_telefono1,
idioma = @p_idioma
WHERE entidad_juridica = @p_entidad_juridica
END
END
GO
GO
-- =============================================
-- Author: <Author,,Name>
-- Create date: <Create Date,,>
-- Description: <Description,,>
-- =============================================
CREATE OR ALTER PROCEDURE dbo.LED_update_profile
-- Add the parameters for the stored procedure here
@p_entidad_juridica int,
@p_nombre_contacto varchar(100),
@p_email_contacto varchar(50),
@p_telefono1 varchar(20),
@p_idioma smallint
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_entidad_juridica > 0) BEGIN
UPDATE gdl_entidad_juridica_legajo SET
nombre_contacto = @p_nombre_contacto,
email_contacto = @p_email_contacto,
telefono1 = @p_telefono1,
idioma = @p_idioma
WHERE entidad_juridica = @p_entidad_juridica
END
END
GO
Depends On
1Used By
No items found