All Questions

Tagged with
Filter by
Sorted by
Tagged with
7
votes
2answers
2k views

What is best way to delete all records from any Dev org

We have managed package and to test this we have special Dev & QA org from sales force which higher data limits (one of them is 250 mb org). To test various scenarios we need to create may ...
6
votes
2answers
3k views

Mass Delete Tens Of Millions Of Records

I have done my due diligence on this and simply cannot find an answer that does not involve Apex, which is what I'm trying to avoid for various reasons. Does anyone know how to adequately without a ...
5
votes
1answer
8k views

Truncate or delete all records in a custom object

Using SOQL, how do I truncate an object or delete all rows. For example DELETE (Select id FROM MyObject__c) and delete [select Id FROM MyObject__c] and TRUNCATE TABLE MyObject__c All 3 example ...
2
votes
2answers
1k views

delete multiple objects which are inside array in Apex

Very new to Apex and never touched java, basically what I am trying to do is delete all records then insert records inside multiple custom objects. Bellow is my code for just the deleting part but I ...
1
vote
2answers
196 views

(Creative) Ways To Truncate A Managed-Package Object

I've searched through various questions here, and via Google, and see nothing other than Apex possibilities, which are far too slow. Anyone know of a creative way to TRUNCATE the data in a custom ...
1
vote
2answers
1k views

Mass Deletion Of (most) Records (in Sandbox) (100 million+)

If someone has a better way of doing this, feel free to share. I'm not playing the role of developer any longer. However, we have an Object with over 100mil records in it, which is over our limit, ...
8
votes
2answers
4k views

Delete Operation Too Large - but all related records have been deleted

I had more that 1,00,000 child objects records for a single record of parent Object. After deleting the child object records when I am deleting the parent record I am getting the below error:- Using ...