Deleting a table
Using the table drop subcommand, you can delete a specified table.
General format of the command:
ydb [global options...] table drop [options...] <table path>
global options: Global parameters.options: Parameters of the subcommand.table path: The table path.
To view a description of the table delete command:
ydb table drop --help
Parameters of the subcommand
| Name | Description |
|---|---|
--timeout |
The time within which the operation should be completed on the server. |
Examples
Note
The examples use the quickstart profile. To learn more, see Creating a profile to connect to a test database.
To delete the table series:
ydb -p quickstart table drop series