test(fifo index): testing for fifo indexing
This commit is contained in:
@@ -27,6 +27,6 @@ SELECT
|
|||||||
[AlplaPROD_test1].[dbo].[T_EtikettenGedruckt] l on
|
[AlplaPROD_test1].[dbo].[T_EtikettenGedruckt] l on
|
||||||
x.LfdNrJeArtikelKunde = l.LfdNr
|
x.LfdNrJeArtikelKunde = l.LfdNr
|
||||||
|
|
||||||
where x.Add_Date between dateadd(hour, -1, getDate()) and getDate()
|
where x.Add_Date between dateadd(hour, -1, getDate()) and getDate() -- this is looking only in the last hour
|
||||||
order by [ProduktionsDatum]
|
order by [ProduktionsDatum]
|
||||||
`;
|
`;
|
||||||
|
|||||||
Reference in New Issue
Block a user