9345 Invalid temporal qualifier is specified.
This error can occur in any of the following conditions. (1) An AS OF temporal qualifier is specified in the statement but there are no temporal tables referenced in the statement. (2) An ABORT or ROLLBACK specifies a NONSEQUENCED VALIDTIME qualifier with a period of applicability. (3) An UPSERT specifies a NONTEMPORAL qualifier. (4) When a SSQ is given in the set session. (5) If an EXPLICIT qualifier is specified for any of the sub-selects other than top most for a SetOp query.
Remove the inappropriate qualifier if it is not applicable.