If you have ever inherited a mature Salesforce Marketing Cloud Business Unit, you know the feeling: 2,500 Data Extensions, dozens named Temp_Audience_Final_v2, and no native "Where Is This Used?" button anywhere in the UI.
Deleting the wrong table rarely fails loudly in the moment. Instead, an overnight SQL query silently errors out, a Journey stops injecting contacts, or a live Preference Center throws a 500 error because an AMPscript Lookup() can no longer find its reference table.
After 15+ years working inside ExactTarget and SFMC, here is every place a Data Extension can hide—how to trace it manually if you only need to check one table, what the SFMC API itself still can't see, and how to map an entire Business Unit in about two minutes.
The 5 Places a Data Extension Hides (The Manual Checklist)
If you are auditing a single Data Extension by hand, you have to check five separate areas of Marketing Cloud. Missing just one is how production breaks.
1. SQL Query Activities (Reads & Writes)
A Data Extension can sit on either side of a SQL Query:
- Upstream (Written by SQL): The DE is configured as the Target Data Extension (Overwrite, Update, or Append).
- Downstream (Read by SQL): The DE is referenced in a FROM, JOIN, or subquery inside the SQL text.
The manual pain: SFMC has no native global text search across SQL Query Activities. Unless you use a third-party browser extension or pull QueryDefinition objects via the REST/SOAP API, you are clicking through Automation Studio → Activities → SQL Query one by one—and hoping nobody used ENT. prefixing or bracketed aliases that throw off a quick visual scan.
2. Automations, Imports, Filters, Extracts & SSJS Scripts
SQL isn't the only thing touching your tables inside Automation Studio:
- Import File Activities: Writing external CSVs directly into a target DE.
- Data Extracts: Pulling DE rows out to the Safehouse/SFTP.
- SSJS Script Activities: Reading or writing via
DataExtension.Init()orPlatform.Function.LookupRows(). - Filter Activities (and "Ghost" Filters): Formal Filter Activities live in Automation Studio, but every time someone creates a Filtered Data Extension in Email Studio, SFMC silently creates a hidden backend Filter Activity (<Name>-<GUID>). Even if someone deletes or renames the Filtered DE later, that hidden activity can linger in the API referencing the source table.
3. Journey Builder (Entry Sources & Splits)
In Journey Builder, a Data Extension is most commonly tied to a Journey as its Entry Source via an Event Definition.
The manual pain: You have to check Active, Paused, and Draft versions of Journeys. A DE that looks untouched by Automations may still be the entry table for an API-triggered Journey—or fed by an Automation whose only link to the Journey is a Fire Event step.
4. Content Builder (Emails, Content Blocks & Code Snippets)
This is the blind spot that catches even senior admins.
Sendable audience DEs are easy to spot on Email Sends and Triggered Sends. What gets missed are non-sendable lookup DEs referenced only inside HTML via AMPscript or SSJS—for example:
Lookup("Store_Locations_Ref", "ManagerName", "StoreID", @storeId)LookupRows("Product_Catalog_Active", "Category", @cat)ClaimRow("Welcome_Coupon_Codes", "IsClaimed", "JobID", jobid)
If a Welcome Email or a shared footer Content Block hasn't been opened in two years, it can still run every single day while referencing a lookup table that shows zero SQL or Automation activity. Manually hunting through hundreds of Emails, Dynamic Content Blocks, and Code Snippets in Content Builder is practically impossible at scale.
5. CloudPages (Preference Centers & Microsites)
Custom Preference Centers, unsubscribe handlers, and lead-capture landing pages routinely read from and write to non-sendable Data Extensions using Lookup(), UpsertData(), InsertDE(), or SSJS. Because CloudPages live outside Automation Studio, tables that only power a live Preference Center often look completely abandoned if you only audit Automations and SQL.
The 4 Blind Spots No SFMC Scanner Can See
Before you delete anything—whether you audited manually or with an automated tool—keep these four platform blind spots in mind:
- External API Integrations: CRM connectors, middleware, and backend webhooks push or pull DE rows using the External Key (
CustomerKey), not the Data Extension Name. SFMC does not log a static dependency link for external API traffic. - Cross-BU Shared ENT. Queries: A SQL query running in a different Business Unit can read from or write to a shared Data Extension in your BU. A single-BU scan won't see queries living inside another MID.
- Dynamically Concatenated DE Names: If a developer wrote
Set @deName = Concat("Promo_", @region)and passed@deNameintoLookup(), static code parsing cannot resolve the table name at rest. - Historical Email Archives: Scanning every one-off promotional email from five years ago creates massive dead-email noise (hiding real bloat). Any practical Content Builder scan caps its window to recent emails—meaning a completely untouched 4-year-old transactional email could still hold an unmapped lookup reference.
The 2-Minute Automated Way: Read-Only Lineage Mapping
Manually auditing 20 Data Extensions takes an afternoon. Manually auditing 2,000+ Data Extensions across a legacy Business Unit is a multi-week spreadsheet project that is already outdated by the time you finish.
I built the SFMC Blast Radius & Lineage Mapper to automate that entire checklist in one read-only pass. Using a temporary Installed Package with strictly read-only scopes (and zero credential storage), it scans:
- Data Extensions, SQL Queries, Imports, Filters, Data Extracts, and SSJS Scripts
- Automations, Journeys (via Event Definitions), and Email Sends
- AMPscript & SSJS references inside CloudPages, Code Snippets, Content Blocks, and up to 2,000 recently modified Emails
In a couple of minutes, it maps Upstream Writers, Downstream SQL & Journey Blast Radius, Broken Automation Steps, and True Orphan candidates—complete with an interactive dependency graph and uncapped CSV exports.
How to Safely Delete a Data Extension Once You've Mapped It
Even with a clean dependency map, never delete a candidate Data Extension on Day 1. Use a 3-stage safe deletion protocol to neutralize the API and cross-BU blind spots above:
- Quarantine + 30-Day Row-Count Check: Move True Orphan candidates into a dedicated
_Quarantine_ToDelete_YYYYMMfolder (moving folders does not break SQL, APIs, or AMPscript). Log the row count on Day 1 and Day 30. If the row count moves, an external API or cross-BU job is still writing to it—pull it back out. - The
_DeletionTestRename Scream Test: Append_DeletionTestto the Data Extension's Name. Any unmapped SQL query or AMPscriptLookup()referencing it by Name will throw an immediate error, and rolling back is as simple as removing the suffix. (Note: Because external APIs targetCustomerKey, this pairs with—not replaces—the row-count check.) - Permanent Delete: Once a full 30-day cycle (covering monthly sends and billing jobs) passes with zero row-count movement and zero alerts, delete permanently.