• Skip to main content
  • Skip to primary sidebar
  • Skip to footer
  • Home
  • Blog
  • Contact

Salesforce Insider

Salesforce News, Reviews, and Analysis

Working with Salesforce Records Using SOQL and DML

August 10, 2022 by Alba Rivas Leave a Comment

SOQL (Salesforce object query language) and DML (Data manipulation language) are the languages used in Salesforce to read and modify records, respectively. In this blog post, we’ll explore how to use them in Apex, including best practices to prevent hitting governor limits. This will be particularly helpful to developers who are new to Salesforce development, or those who need a refresher on these topics.

Multitenancy in Salesforce

Before diving into SOQL and DML, it’s important to first understand how your records are stored in Salesforce. The database that contains your records behind the scenes does not actually contain a SQL table for each of your standard and custom objects. The database stores records in a multitenant database, a database that stores data and metadata from multiple tenants in a standardized way. The database contains generic tables to store standard and custom object records.

I particularly like the image below from

Filed Under: News

Reader Interactions

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Primary Sidebar

More to See

Optimizer Is Sunsetting: Learn How To Use Org Check | Kate Clicks Through It

August 5, 2025 By Kate Lessard

Admin Release Countdown: Get Ready for Winter ’26

August 4, 2025 By Zoe Vasquez

Breaking Into Tech With a Nontraditional Background

July 31, 2025 By Joshua Birk

Introducing True to the Core Deep Dive: In-Depth Product Conversations with Salesforce PMs

July 29, 2025 By LeeAnne Rimel

Inside Our Hackathon Build: Case Automation on Agentforce in 9 Steps

July 28, 2025 By Anna Bromley

Footer

About Salesforce Insider

Salesforce Insider is your one-stop shop for Salesforce news, reviews, and analysis.

Do you have something to share? Contact us and let us know!

Recent

  • Optimizer Is Sunsetting: Learn How To Use Org Check | Kate Clicks Through It
  • Admin Release Countdown: Get Ready for Winter ’26
  • Breaking Into Tech With a Nontraditional Background
  • Introducing True to the Core Deep Dive: In-Depth Product Conversations with Salesforce PMs
  • Inside Our Hackathon Build: Case Automation on Agentforce in 9 Steps

Search

Copyright © 2026 · Salesforce Insider