dbo.backend_verificar_existencia_cuit

Description

Properties

Name Value
ANSI Nulls ON

True

Quoted Identifier ON

True

Encrypted

False

Execute As
Assembly

Parameters

1
Name Data Type Length Description
@p_cuit varchar 20

SQL Script

Copy
SET QUOTED_IDENTIFIER, ANSI_NULLS ON
GO

CREATE OR ALTER PROCEDURE dbo.backend_verificar_existencia_cuit
@p_cuit varchar(20)
AS

BEGIN

if exists(select 1 as res from padrones where identificacion=@p_cuit) 
select 1 as res
else  
select 0 as res

END

GO

Depends On

1

Used By

No items found