S-01036: updated sql script