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 | 50 |
SQL Script
Copy
SET QUOTED_IDENTIFIER, ANSI_NULLS ON
GO
CREATE OR ALTER PROCEDURE dbo.obtener_id_padron
@cuit varchar(50)
AS
BEGIN
SET NOCOUNT ON;
--select id_padron from padrones where identificacion = @cuit
select top 1 id_padron from padrones where identificacion = @cuit and habilitado = 1 order by id_padron
END
GO
GO
CREATE OR ALTER PROCEDURE dbo.obtener_id_padron
@cuit varchar(50)
AS
BEGIN
SET NOCOUNT ON;
--select id_padron from padrones where identificacion = @cuit
select top 1 id_padron from padrones where identificacion = @cuit and habilitado = 1 order by id_padron
END
GO
Depends On
1Used By
No items found