2
Good, I have a view " Gp_vw_cons_faults " that contains the initial and final date of when a client is missing.
I want to collect all the records of a particular client in a given period of time.
I am trying to use the following query:
select *
from GP_Vw_Cons_Faltas
where DataInicio > "01/01/2015" AND DataFim < "01/10/2016" AND Codigo = 65
That does not return me all the values corresponding to the interval, someone has a solution?
SGBD : Sybase
View columns:
Dating Date Code
You did not inform the
SGBD
nor the data you have in the table– Sorack
I did it now, thank you
– Marco Silva
How the Start and End columns are declared?
– José Diz