the error i keep getting is
Server: Msg 306, Level 16, State 2, Line 1
The text, ntext, and image data types cannot be compared or sorted, except when using IS NULL or LIKE operator.
Not sure why it is throwing up error but a bit rusty on my sql
code is
SELECT
[JobRecords].[JobID]...