【问题标题】:BigQuery standard SQL - DELETE over multiple tablesBigQuery 标准 SQL - 删除多个表
【发布时间】:2016-12-15 11:37:43
【问题描述】:

我可以像这样进行选择查询:

SELECT count(*)
FROM
  `test.test_*`
WHERE
  _TABLE_SUFFIX in('aaa', 'bbb')

但我不能对 DELETE 做同样的事情。 我得到“DML over table test.test_* is not supported for the following query:

DELETE FROM
  `test.test_*`
WHERE
  _TABLE_SUFFIX in('aaa', 'bbb') and id = '111'

有没有办法删除多个表?

【问题讨论】:

标签: sql google-bigquery


【解决方案1】:

BigQuery 不支持基于通配符表的 DML。

【讨论】:

    猜你喜欢
    • 2019-01-13
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2018-08-27
    • 1970-01-01
    • 2016-11-29
    • 1970-01-01
    相关资源
    最近更新 更多