CONN-1043 Updated Oracle sql