Getting message:Msg 8115, Level 16, State 2, Line 1Arithmetic overflow error converting expression to data type datetime.When trying to run script below. I want all records that have a doc_dt greater than the year 2006SELECT source, ord_no, ctl_no, line_no, lev_no, seq_no, from_source, from_ord_no, from_ctl_no, from_line_no, from_lev_no, from_seq_no, item_no, item_filler, par_item_no, par_item_filler, loc, trx_dt, trx_tm, doc_dt, doc_type, doc_ord_no, doc_source, cus_no, vend_no, prod_type, quantity,old_quantity, unit_cost, old_unit_cost, new_unit_cost, price, build_qty, build_qty_per, amt, landed_cost, receipt_ord_no, status, jnl, batch_id, user_name, id_no, comment, filler_0003, trx_qty_bkord, promise_dt, rev_no, deall_amt, filler_0004, A4GLIdentityFROM iminvtrx_sqlwhere year(doc_dt) > (year(getdate())-3)