How do I compare two dateintervals (from-to date), the first intervall should be either fully or partly within the second date intervall, and in both intervals the enddate can be NULL.
Do not want to set the Null dates to an imaginary date if this can be avoided. Can it be done by SQL not using a lot of if and Case statements ? Have tried in VB and realised that It would take a darn lot of if statements.
Do not want to set the Null dates to an imaginary date if this can be avoided. Can it be done by SQL not using a lot of if and Case statements ? Have tried in VB and realised that It would take a darn lot of if statements.