diff --git a/guides/databases/cdl-to-ddl.md b/guides/databases/cdl-to-ddl.md index 2c3f186e1..40d823e37 100644 --- a/guides/databases/cdl-to-ddl.md +++ b/guides/databases/cdl-to-ddl.md @@ -60,6 +60,8 @@ code --diff _out/c/sqlite.sql _out/c/h2.sql > [!tip] CDS models are database-agnostic > CDS models are designed to be database-agnostic, allowing you to switch between different databases with minimal changes. The `--dialect` option helps you see how your models translate to different database-specific DDLs. \ +Expressions in CDS models are _not_ treated in a database-agnostic way. The compiler does not rewrite them into database-specific equivalents. Instead, it carries them over directly into the DDL. Ensure that any expression you write in your CDS model works across all databases you use. For more information, see [Database-Specific Models](#database-specific-models). + ### Dialects by `cds env` Profiles