How you will do Mass Insert through trigger?



How you will do Mass Insert through trigger?..

Answer / Bhavana Gautam

A trigger cannot be used to perform mass insert operations directly. However, you can write an Apex class that performs a mass insert and then schedule it as a batch job or call it from another Apex class or trigger using the static method.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Salesforce Interview Questions

Define formula fields?

1 Answers  


What are the different types of collections in apex? What are maps in apex? : salesforce crm

1 Answers  


What is a sandbox org? What are the different types of sandboxes in Salesforce?

1 Answers  


What are the different methods of batch apex class? : salesforce crm

1 Answers  


What is difference between datatable and pageblock table?

1 Answers  


What is approval process? Are automated actions supported by approval processes? How many?

1 Answers  


What is the difference between a role and profile in salesforce? : salesforce crm

1 Answers  


What all data types can a set store? : salesforce crm

1 Answers  


Can we convert formula field into any other data type ?

1 Answers  


How can I create many – to – many relationships?

1 Answers  


Explain the dashboard component of Chart?

1 Answers  


What is 'data skew'?

1 Answers  


Categories