ORA-00904: “CEILING”: invalid identifier in ORACLE 11G

本小妞迷上赌 提交于 2019-12-11 14:47:54

问题


ceiling in oracle 11g throws java.sql.SQLException: ORA-00904: "CEILING": invalid identifier. Till now are used Oracle 10G, now we upgraded to 11G,afterthe we are getting ""CEILING": invalid identifier" error

can any one help on this please.


回答1:


There is no function CEILING that is part of any stock Oracle database install of any version.

If you are using a function CEILING in your 10g database, that implies that it is a user-defined function. If that function doesn't exist in 11g, you'd need to create it there.

Oracle does have a function CEIL that takes a number and rounds up to the next highest integer. If that's all you are doing, it probably makes more sense to use the built-in function rather than writing your own wrapper function.



来源:https://stackoverflow.com/questions/19318487/ora-00904-ceiling-invalid-identifier-in-oracle-11g

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