Remove a primary keySource:
dm_rm_pk() removes one or more primary keys from a table and leaves the
dm object otherwise unaltered.
An error is thrown if no private key matches the selection criteria.
If the selection criteria are ambiguous, a message with unambiguous replacement code is shown.
Foreign keys are never removed.
A table in the
NULLto remove all matching keys.
Table columns, unquoted. To refer to a compound key, use
c(col1, col2). Pass
NULL(the default) to remove all matching keys.
These dots are for future extensions and must be empty.
TRUE(default), will throw an error if there are foreign keys addressing the primary key that is to be removed.