Source '{0}' can only be used in temporal predicate using 'datediff' function. Example: SELECT input1.a, input2.b FROM input1 ...