How do I use date compare in my SQL query's ??
I have tried:
...AND DateCompare(getDate(), lot.lotOpenDateTime) <> -1
but I just keep getting an error saying DateCompare is not a recognized function.
If I can use DateDiff in my querys why can't I use DateCompare. Am I doing something wrong ???
Thanks,
Mark
I have tried:
...AND DateCompare(getDate(), lot.lotOpenDateTime) <> -1
but I just keep getting an error saying DateCompare is not a recognized function.
If I can use DateDiff in my querys why can't I use DateCompare. Am I doing something wrong ???
Thanks,
Mark