A message from our CEO about the future of Stack Overflow and Stack Exchange. Read now.

Using insert DML, you can insert new records and commit them to the database.

Syntax:

insert sObject
insert sObject[]
history | excerpt history