Querying a database to find where two fields are not equal
I'm sure I'm missing something obvious....
The task at hand:
Create a date driven report that shows everything that has been published within that date range that was supposed to publish in a different quarter (so it was either advanced or delayed)
Select Autonumber, Topic, Quarter: DatePart('q',Date_Posted),Quarter: DatePart('q',Date_OriginalPublish)
from TableStuff
Where the two date parts don't equal....