on 10-12-2009 11:45 PM
Veran, estoy ejecutando un procedimiento a traves de
DECLARE @INICIO DATETIME
DECLARE @FIN DATETIME
set @INICIO=(SELECT top 1 T0.TaxDate FROM dbo.OINV T0 WHERE T0.TaxDate = '[%0]')
set @FIN=(SELECT top 1 T0.TaxDate FROM dbo.OINV T0 WHERE T0.TaxDate = '[%1]')
EXEC SBOAsisteLibros_Compras_Digital @INICIO, @FIN
Este procedimiento pretende halar ciertos documentos en un rango de fechas, el problema que tengo es que, en el mes de julio me aparecen datos, y en el mes de agosto ya no, luego me vueven a aparecer datos en septiembre
Me podrian decir que estare haciendo mal?
o como puedo solucionarlo
gracias
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hola.
Intenta ejecutar el procedimiento almacenado en el SQL Server Management Studio, como un query normal, colocando los parámetros de fecha manualmente.
¿Se obtienen los mismos resultados, o los esperados?.
Saludos.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
94 | |
11 | |
10 | |
6 | |
5 | |
5 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.