I have a below code which is giving error when I changed the sSQL parameter to join query. Earlier select command on v_d_investigation view was there. I changed the query t