sysdate not relevant for an every day drop db, replaced by photo.tekedate value