DELETE FROM LOGS.CHECK_RIGHTS WHERE DEPOT=':DEPOTID'