JDBC Driver for Google Spanner

Build 23.0.8839

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) 2024 CData Software, Inc. - All rights reserved.
Build 23.0.8839