aneilg
asked on
sql dates
how do i modify the following query
I have the following query bu ti need to get the dat efrom another table,
AND hl.HISTORY_DATE < DATEADD(d,DATEDIFF(d,0, GETDATE()),0)
I wan to do something like
AND hl.HISTORY_DATE < DATEADD(d,DATEDIFF(d,0, SELECT [Extraction_Date] FROM [ELTO_Extraction_Date]),0)
Can you paste the full query?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
thanks.