No that is definately NOT the right way to go about that, because that will ignore all table relations. Doing a rename will also update tables that have a relation into this table. Deleting it and replacing it with another record will not automtically take care of that. You owuld have to write and run code to update those values.
This tells you whether the system was able to rename the primary key or not. Typically, the system will return FALSE if the record does not exist or if you do not have permission to write to the table.
Record
Data type: record
The record that contains the primary key that you want to change.