function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Srinu@dreamsSrinu@dreams 

Is it possible to insert data using SOQL Query?

According to my understanding we can retrive data form model, this might be the silly question but I need to know.

sfdcfoxsfdcfox

No, SOQL is a query language. Records are created, modified, and deleted through DML operations.

Suraj Tripathi 47Suraj Tripathi 47
Hi Srinu@dreams,

No, we can not insert records by using SOQL Query. Insertion is performed with the help of DML Operation.



If you find your Solution then mark this as the best answer. 


Thank you!

Regards 
Suraj Tripathi