Removes a table from a database.
Remove-Table [-Name] <String> [[-SchemaName] <String>] [<CommonParameters>]
You can't get any of the data back, so be careful.
Name | Type | Description | Required? | Pipeline Input | Default Value |
---|---|---|---|---|---|
Name | String | The name of the table where the column should be removed. |
true | false | |
SchemaName | String | The schema of the table where the column should be added. Default is |
false | false | dbo |
Remove-Table -Name 'Coffee'
Removes the Coffee
table from the database.