New article: How to Survive a Rollback (when logging)
How to ensure log messages are always written to the database, even when a containing transaction rolls back.
I don't really understand why anyone is excited about nested CTEs, but if you want to try it on SQL 2025 CTP2 box, enable TF 15320 (session or global).
Currently only documented for 'Fabric' whatever that is
Looks like 'expression indexes' are coming to SQL Server 2025.
This is valid syntax on CTP 2 when trace flag 17152 is enabled:
CREATE INDEX ix ON MyTable (n * 2);
It creates a computed column for you, named e.g. $expression_index_B18729F8A924473FA0DF2CB95D9B2E01.
Interesting undocumented USE HINTs in SQL Server 2025 CTP 2:
* DISABLE_PERFORMANCE_SORT_FOR_DML
sets DMLRequestSort to false like TF 8795
* DISABLE_OPTIONAL_PARAMETER_OPTIMIZATION
* PARALLEL_DML_FOR_VECTOR_INDEX_BUILD
* DISABLE_SCALABLE_SUBTREE