JDBC Driver for Google Spanner

Build 22.0.8462

DROP TABLE Statements

Use DROP TABLE statements to delete a table and all the data it contains from Google Spanner.

DROP TABLE Syntax

The DROP TABLE statement accepts the name of the table to delete, as shown in the following example:

DROP TABLE [ IF EXISTS ] <table_name> 

The following query deletes all MyCustomers data from the server:

DROP TABLE IF EXISTS MyCustomers

Copyright (c) 2023 CData Software, Inc. - All rights reserved.
Build 22.0.8462