in db there are custom table name like wp_wpdf_docs and want to change table name to wp_ccdm_docs
as i am using
$oldtable_name = $wpdb->prefix . "wpfd_docs";
$newtable_name = $wpdb->prefix . "ccdm_docs";
$rename= $wpdb->query("RENAME TABLE ".$oldtable_name ." TO " .$newtable_name);
is it right process?