Description
Properties
| Name | Value |
|---|---|
| ANSI Nulls ON | True |
| Quoted Identifier ON | True |
| Encrypted | False |
| Execute As | |
| Assembly |
Parameters
2| Name | Data Type | Length | Description |
|---|---|---|---|
| @id_cliente | int | 4 | |
| @fecha_proceso | date | 3 |
SQL Script
Copy
SET QUOTED_IDENTIFIER, ANSI_NULLS ON
GO
-- exec sp_procesos_cuit_lista 452189004, '2017-09-14'
CREATE OR ALTER PROCEDURE dbo.sp_procesos_cuit_lista
@id_cliente int,
@fecha_proceso date
AS
BEGIN
SET NOCOUNT ON;
SELECT distinct cuit FROM procesos_cuit
where cliente = @id_cliente
and fecha = @fecha_proceso
ORDER BY cuit
END
GO
GO
-- exec sp_procesos_cuit_lista 452189004, '2017-09-14'
CREATE OR ALTER PROCEDURE dbo.sp_procesos_cuit_lista
@id_cliente int,
@fecha_proceso date
AS
BEGIN
SET NOCOUNT ON;
SELECT distinct cuit FROM procesos_cuit
where cliente = @id_cliente
and fecha = @fecha_proceso
ORDER BY cuit
END
GO
Depends On
1Used By
No items found