RF rename SQL script