dbo.afip_actividades

Description

Properties

Name Value
ANSI Nulls ON

True

Quoted Identifier ON

True

Encrypted

False

Execute As
Assembly

Parameters

2
Name Data Type Length Description
@codigo int 4
@nombre varchar 250

SQL Script

Copy
SET QUOTED_IDENTIFIER, ANSI_NULLS ON
GO
CREATE OR ALTER PROCEDURE dbo.afip_actividades
@codigo int,
@nombre varchar(250)
AS


BEGIN
    SET NOCOUNT ON;
 if (select COUNT(*) from actividades where codigo_actividad = @codigo) = 0
 begin
 insert into actividades values (@codigo, @nombre)
 end 
END 

GO

Depends On

1

Used By

No items found