How to delete all records from custom object in salesforce
Go to Developer Console>Debug> Open execute anonymous window
Write the below code
Click on the button execute button
Note: Replace sobject__c with original custom object API name
Write the below code
1
2
| List<sobject__c> objDelList= [SELECT Id FROM sobject__c];delete objDelList; |
Click on the button execute button
Note: Replace sobject__c with original custom object API name
No comments:
Post a Comment