简体   繁体   中英

BigQuery standard SQL - DELETE over multiple tables

I can do a select query like this:

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

But i cant do the same with DELETE. I get "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'

Is there a way to do delete over multiple tables?

BigQuery不支持通配符表上的DML。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM