Skip to content

Commit 434da7c

Browse files
authored
hotfix: extra WITH
1 parent 9de5046 commit 434da7c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/nested_CTES.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ SELECT * FROM goku_outer
3333
WITH goku_inner AS (
3434
SELECT 9001 as power_level
3535
),
36-
WITH goku_outer AS (
36+
goku_outer AS (
3737
SELECT * FROM goku_inner
3838
)
3939
SELECT * FROM goku_outer
@@ -170,4 +170,4 @@ In fact, the magic of dbt is just Jinja templating. dbt goes one step further an
170170

171171
If TSQL could allow wrapping arbitrary SELECT queries within a CTE, it would have the following effects on dbt custom adapter maintenance:
172172
- dbt-sqlserver and dbt-synapse get the benefits of [ephemeral](https://docs.getdbt.com/docs/building-a-dbt-project/building-models/materializations#ephemeral) materializations and dbt tests without extra work
173-
- dbt-msft users can take advantage of community-supported adapters with more confidence (many package maintainers make heavy use of CTE-query-wrapping)****
173+
- dbt-msft users can take advantage of community-supported adapters with more confidence (many package maintainers make heavy use of CTE-query-wrapping)****

0 commit comments

Comments
 (0)