[#XDSB-84] Stored Query tests failed for oracle and psql