Description
Properties
| Name | Value |
|---|---|
| ANSI Nulls ON | True |
| Quoted Identifier ON | True |
| Encrypted | False |
| Execute As | |
| Assembly |
Parameters
1| Name | Data Type | Length | Description |
|---|---|---|---|
| @cuit | varchar | 20 |
SQL Script
Copy
SET QUOTED_IDENTIFIER, ANSI_NULLS ON
GO
CREATE OR ALTER PROCEDURE dbo.obtener_padron_id
@cuit varchar(20)
AS
BEGIN
SET NOCOUNT ON;
declare @id_padron int = (select top 1 id_padron from padrones where identificacion = @cuit and habilitado = 1 order by id_padron)
return @id_padron
END
GO
GO
CREATE OR ALTER PROCEDURE dbo.obtener_padron_id
@cuit varchar(20)
AS
BEGIN
SET NOCOUNT ON;
declare @id_padron int = (select top 1 id_padron from padrones where identificacion = @cuit and habilitado = 1 order by id_padron)
return @id_padron
END
GO
Depends On
1Used By
No items found