docs icon indicating copy to clipboard operation
docs copied to clipboard

Feedback: TRUNCATE

Open kdesai70 opened this issue 5 months ago • 0 comments

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

kdesai70 avatar Jun 24 '25 14:06 kdesai70