Skip to content

Feedback: TRUNCATE #19824

Open
Open
@kdesai70

Description

@kdesai70

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions