EndPoint Delete Dataset
Name
delete_dataset
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
Output Columns
Label | Data Type (SSIS) | Data Type (SQL) | Length | Raw | Description |
---|---|---|---|---|---|
Response |
DT_WSTR
|
nvarchar(255)
|
255 | False |
Input Columns
Label | Data Type (SSIS) | Data Type (SQL) | Length | Raw | 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 component to read data or in API Destination component to read/write data:
Delete Dataset using API Source

Delete Dataset using API Destination

ODBC application
Use these SQL queries in your ODBC application data source:
Delete dataset
Delete dataset for specified ID. If you like to delete all tables under that dataset then set deleteContents='true'
SELECT * FROM delete_dataset WITH(DatasetId='MyDatasetId', deleteContents='False')
SQL Server
Use these SQL queries in SQL Server after you create a data source in Data Gateway:
Delete dataset
Delete dataset for specified ID. If you like to delete all tables under that dataset then set deleteContents='true'
DECLARE @MyQuery NVARCHAR(MAX) = 'SELECT * FROM delete_dataset WITH(DatasetId=''MyDatasetId'', deleteContents=''False'')';
EXEC (@MyQuery) AT [LINKED_SERVER_TO_GOOGLE_BIGQUERY_IN_DATA_GATEWAY];