select C.id as 'CAD ID',F.id as 'File_ID',C.item_number,C.locked_by_id as 'CAD LOCK',F.filename,F.locked_by_id as 'File Lock' from innovator.CAD as C inner join innovator.[File] as F on F.id=right(C.thumbnail,32) where (F.locked_by_id is not null and C.locked_by_id is null) or (F.locked_by_id is null and C.locked_by_id is not null) or (F.locked_by_id not like C.locked_by_id)
When invoking context menu on the grid, this happens:
if you omit the column naming ("as 'CAD ID'...), the message changes slightly:
Query issued:
When invoking context menu on the grid, this happens:
if you omit the column naming ("as 'CAD ID'...), the message changes slightly: