SQL Commands
UPSERT Statements
An UPSERT statement updates an existing record or creates a new record if an existing record is not identified.
Was this page helpful?
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
An UPSERT statement updates an existing record or creates a new record if an existing record is not identified.
UPSERT INTO Lead (FirstName, LastName, Company, External_Id_Column__c, ExternalIdColumn)
VALUES ('Bob', 'Thorton', 'Universal Pictures', 12345, 'External_Id_Column__c')
Was this page helpful?