Is there an ANSI Specification for the PIVOT statement?

南笙酒味 提交于 2019-11-30 19:30:12

问题


Lately I asked the question How can I use PIVOT to show simultaneous average and count in its cells?

The question is answered for SQL-Server (2005+) and Oracle (11g +)

Obviously the sql-server implementation is rather limited and Oracle implementation yields strange column names.

Are these independent solutions or are there based on some ANSI-standards?


回答1:


It isn't in ANSI-92.

The later versions are not freely available (as far as I can tell) except a draft SQL:2003. Also not mentioned

Note: neither pivot nor cross-tab are mentioned



来源:https://stackoverflow.com/questions/4842726/is-there-an-ansi-specification-for-the-pivot-statement

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