Is it possible to do a full text search in all tables in BigQuery?

◇◆丶佛笑我妖孽 提交于 2021-01-29 11:00:45

问题


In Oracle and SQL Server, it is possible to search all database objects for references of specific text: SELECT * FROM all_source WHERE UPPER(text) LIKE '%blah%'

I would like to do the same thing in Google BigQuery. Is it possible to search every field of every table for a particular value in BigQuery?


回答1:


If you wish to query multiple tables within a dataset in BigQuery, have a look at querying multiple tables using a wildcard table. If you would also like to search for a word in all columns of a table (or every table in this case), have a look at this SO post where this topic is discussed.



来源:https://stackoverflow.com/questions/51678634/is-it-possible-to-do-a-full-text-search-in-all-tables-in-bigquery

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!