Skip to main content

Column roles

Every column is classified into one of these roles:

Key column conventions

_KEY vs _ID

_IS_DELETED

Every table has an ENTITY_IS_DELETED flag. Always filter WHERE ENTITY_IS_DELETED = FALSE — soft-deleted records are retained in the table but should be excluded from reports.

SF__ prefix

Columns prefixed with SF__ are Snowflake sync metadata (e.g. SF__ROW_SYNCED_DATE_TIME_UTC). Use SF__ROW_SYNCED_DATE_TIME_UTC to check data freshness. These columns are not business data and can be ignored in most queries.

Core tables quick reference

All tables above are in the CRM_RAW table group. In Snowflake SQL, reference them as [database].[schema].TABLE_NAME.

Finding columns with numeric codes

To identify every column in the schema that may need a decode lookup:
Cross-reference the results against Lookup values to find the correct ENTITY and PROPERTY values for the decode join.
Data freshness: These tables sync continuously from Virtuous CRM. Typical lag is under 4 hours. To check when a record was last updated, inspect the SF__ROW_SYNCED_DATE_TIME_UTC column on any table.
Last modified on May 22, 2026