cockroachdb / cockroachdb/docs

Feedback: DROP DATABASE

Open
#19,437 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.1/drop-database.html

## What is the reason for your feedback?

[X] Missing the information I need

## Additional details
The doc says ```CASCADE (Default) Drop all tables and views in the database as well as all objects (such as constraints and views) that depend on those tables. CASCADE does not list objects it drops, so should be used cautiously.``` - it however does not mention how to list the objects that are affected by `CASCADE` option.
If I do not use `CASCADE`, what happens to these orphan objects? Is there a way to list them and remove at a later stage?

Request that some note on this is provided.

Jira issue: DOC-12614

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.