**Source URL:** https://general.veevavault.dev/qualityone/mdl/documentation/mdl-commands/rename.md

# RENAME


```
RENAME Componettypename old_component_name TO new_component_name; 

```

The `RENAME` command renames a component. You can only rename custom components (components with a `__c` namespace) such as `my_product__c`. The command returns an error if a component with the same name already exists.

For example, you can rename the picklist from the examples above from `color__c` to `colors__c` to match the label.

```
RENAME Picklist color__c TO colors__c;

```


---

**Previous:** [RECREATE](/qualityone/mdl/documentation/mdl-commands/recreate)  
**Next:** [DROP](/qualityone/mdl/documentation/mdl-commands/drop)