cockroachdb / cockroachdb/docs

Feedback: TRUNCATE

Open
#19,824 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
HTML
Stars
212
Forks
476
Avg merge
40m
Merged PRs (30d)
3

Description

Page: https://cockroachlabs.com/docs/v25.2/truncate.html

## What is the reason for your feedback?

[X] Missing the information I need

[ ] Too complicated

[ ] Out of date

[ ] Something is broken

[ ] Other

## Additional details

People are concerned when it says in the docs that TRUNCATE command runs a DROP TABLE / CREATE TABLE procedure. I think you should be explicit here that if the table is actually dropped that grants, TTL, indices, constraints, etc anything else that is tied to the TABLE object is not affected by the TRUNCATE operation.

Jira issue: DOC-14067

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.