Description
Properties
| Name | Value |
|---|---|
| ANSI Nulls ON | True |
| Quoted Identifier ON | True |
| Encrypted | False |
| Execute As | |
| Assembly |
Parameters
1| Name | Data Type | Length | Description |
|---|---|---|---|
| @client_id | int | 4 |
SQL Script
Copy
SET QUOTED_IDENTIFIER, ANSI_NULLS ON
GO
CREATE OR ALTER PROCEDURE dbo.listado_mantenimiento_cheques
@client_id int
AS
BEGIN
SET NOCOUNT ON;
select nro_cheque,importe,padrones.nombre_persona,fecha_modificacion,cuit,convert(varchar(11),fecha_cheque,103) as fecha_cheque,monitoreos.cliente,user_id,id_mantenimiento from monitoreos inner join padrones
on padrones.identificacion = cuit
where seccion_mantenimiento = 99 and user_id = @client_id and visible = 1
END
GO
GO
CREATE OR ALTER PROCEDURE dbo.listado_mantenimiento_cheques
@client_id int
AS
BEGIN
SET NOCOUNT ON;
select nro_cheque,importe,padrones.nombre_persona,fecha_modificacion,cuit,convert(varchar(11),fecha_cheque,103) as fecha_cheque,monitoreos.cliente,user_id,id_mantenimiento from monitoreos inner join padrones
on padrones.identificacion = cuit
where seccion_mantenimiento = 99 and user_id = @client_id and visible = 1
END
GO
Depends On
2Used By
No items found