Endpoint Delete Table
Name
delete_table
Description
Deletes the dataset specified by the datasetId value. Before you can delete a dataset, you must delete all its tables, either manually or by specifying deleteContents. Immediately after deletion, you can create another dataset with the same name. [API reference]
Parameters
| Parameter | Required | Options |
|---|---|---|
|
Name:
Label: TableId |
YES | |
|
Name:
Label: ProjectId |
||
|
Name:
Label: DatasetId |
Output Columns
| Label | Data Type (SSIS) | Data Type (SQL) | Length | Description |
|---|---|---|---|---|
| Response |
DT_WSTR
|
nvarchar(255)
|
255 |
If the column you are looking for is missing, consider customizing Google BigQuery Connector.
Input Columns
| Label | Data Type (SSIS) | Data Type (SQL) | Length | Description | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| There are no Static columns defined for this endpoint. This endpoint detects columns dynamically at runtime. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Examples
SSIS
Use Google BigQuery Connector in API Source or in API Destination SSIS Data Flow components to read or write data.
API Source
API Source - Google BigQuery
Read / write Google BigQuery data inside your app without coding using easy to use high performance API Connector
Google BigQuery
Delete Table
| Required Parameters | |
|---|---|
| TableId | Fill-in the parameter... |
| Optional Parameters | |
| ProjectId | |
| DatasetId | |
API Destination
API Destination - Google BigQuery
Read / write Google BigQuery data inside your app without coding using easy to use high performance API Connector
Google BigQuery
Delete Table
| Required Parameters | |
|---|---|
| TableId | Fill-in the parameter... |
| Optional Parameters | |
| ProjectId | |
| DatasetId | |
ODBC application
Use these SQL queries in your ODBC application data source:
Delete table
SELECT * FROM delete_table
WITH
(
"TableId" = 'abcd-1234-tableid'
)
SQL Server
Use these SQL queries in SQL Server after you create a data source in Data Gateway:
Delete table
DECLARE @MyQuery NVARCHAR(MAX) = 'SELECT * FROM delete_table
WITH
(
"TableId" = ''abcd-1234-tableid''
)';
EXEC (@MyQuery) AT [LS_TO_GOOGLE_BIGQUERY_IN_GATEWAY];