AWS Redshift 选择除了某些列之外的所有列。

huangapple go评论55阅读模式
英文:

AWS Redshift Select all except some columns

问题

我想从表/视图中选择所有内容,除了某些列。有没有办法在不创建存储过程的情况下实现这个目标?

英文:

I've got a problem where I want to select all from a table/view except some columns. Is there any way of achieving this without creating a procedure?

答案1

得分: 3

BigQuery 和我认为 Snowflake 可能支持它,但 Redshift 不支持 SELECT * EXCEPT 语法。

英文:

No. BigQuery and I think Snowflake might support it, but Redshift doesn't support SELECT * EXCEPT syntax.

huangapple
  • 本文由 发表于 2023年5月31日 23:00:31
  • 转载请务必保留本文链接:https://go.coder-hub.com/76374871.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定