Description
Properties
| Name | Value |
|---|---|
| ANSI Nulls ON | True |
| Quoted Identifier ON | True |
| Encrypted | False |
| Execute As | |
| Assembly |
Parameters
4| Name | Data Type | Length | Description |
|---|---|---|---|
| @p_id | int | 4 | |
| @p_cuit_sociedad | varchar | 20 | |
| @p_cuit_integrante | varchar | 20 | |
| @p_dni_integrante | varchar | 20 |
SQL Script
Copy
SET QUOTED_IDENTIFIER, ANSI_NULLS ON
GO
-- =============================================
-- Author: <Marits Soria>
-- modificado: <Leonel Turchetto 20/03/2019>
-- Create date: <13 Oct 2020>
-- Description: <Completa CUIT de la sociedad, CUIT / DNI integrante en la tabla Sociedades_Constituciones>
-- =============================================
CREATE OR ALTER PROCEDURE dbo.backend_procesar_sociedades_constituciones
-- Add the parameters for the stored procedure here
@p_id int,
@p_cuit_sociedad varchar(20),
@p_cuit_integrante varchar(20),
@p_dni_integrante varchar(20)
AS
BEGIN
SET NOCOUNT ON;
IF (@p_id IS NOT NULL)
begin
UPDATE Sociedades_constituciones
set documento_soc = @p_cuit_sociedad,
cuit_int = @p_cuit_integrante,
nrdoc_int = @p_dni_integrante
where id_fide = @p_id
select @p_id as id
end
END
GO
GO
-- =============================================
-- Author: <Marits Soria>
-- modificado: <Leonel Turchetto 20/03/2019>
-- Create date: <13 Oct 2020>
-- Description: <Completa CUIT de la sociedad, CUIT / DNI integrante en la tabla Sociedades_Constituciones>
-- =============================================
CREATE OR ALTER PROCEDURE dbo.backend_procesar_sociedades_constituciones
-- Add the parameters for the stored procedure here
@p_id int,
@p_cuit_sociedad varchar(20),
@p_cuit_integrante varchar(20),
@p_dni_integrante varchar(20)
AS
BEGIN
SET NOCOUNT ON;
IF (@p_id IS NOT NULL)
begin
UPDATE Sociedades_constituciones
set documento_soc = @p_cuit_sociedad,
cuit_int = @p_cuit_integrante,
nrdoc_int = @p_dni_integrante
where id_fide = @p_id
select @p_id as id
end
END
GO
Depends On
1Used By
No items found