mirror of
https://github.com/jbranchaud/til
synced 2026-01-07 09:08:01 +00:00
Add a sql tag to the last code block.
This commit is contained in:
@@ -25,7 +25,7 @@ TRUNCATE TABLE;
|
|||||||
If many tables are tied together in this way and you are looking to throw
|
If many tables are tied together in this way and you are looking to throw
|
||||||
all of it out, then a simpler approach is to cascade the truncation:
|
all of it out, then a simpler approach is to cascade the truncation:
|
||||||
|
|
||||||
```
|
```sql
|
||||||
> truncate A cascade;
|
> truncate A cascade;
|
||||||
NOTICE: truncate cascades to table "B"
|
NOTICE: truncate cascades to table "B"
|
||||||
TRUNCATE TABLE
|
TRUNCATE TABLE
|
||||||
|
|||||||
Reference in New Issue
Block a user