Is there a size limit to a dynamic select statment. For some reason it is not building the entire statement.
"select " + @report_title + " as report_title, "+
"ac.tail_no, at.aur_mod_des, at.fy, ta.asset_desc, at.last_dd250_dt, act.activity_name, rk.remarks...