ORA-00939: too many arguments -when case arguments exceed 255
Problem Description In all Oracle 10.1g and oracle 10.2.0.1, 10.2.0.2, 10.2.0.3 whenever there is more than 255 arguments inside CASE statements then following error is returned. ORA-00939: too many arguments for function But surprisingly on Oracle 9.2 database the same code does not return any error. Cause of the Problem As we see the same code return error in 10g but it is well on 9.2. In fact this is problem of oracle 9.2 that it does not return any error. It should return error if there is more than 255 arguments inside CASE statements. In oracle 9.2 this is bug number 2909927 and this bug is fixed in oracle 10.1 and 10.2. That's why in 10.2 and 10.1 error returns if arguments exceed 255. Up to Oracle 10.2.0.3 and earlier version, the arguments of CASE statement is limit to 255 and it does not support exceed over 255 and hence error return if it exceed. However in Oracle 10.2.0.4 and later the arguments limit of CASE statement has increased to 32767. Solution of the Problem Opt...
Nice blog
ReplyDeleteThanks for your reach-out efforts. This is a great blog about RAC 10g R2 on Red Hat Linux Detail Design. Keep sharing.
I will try this. Web Hosting plays a very important role in the business world. And it is important to have the best hosting services. Buy the best Germany VPS Hosting service for your website.
This comment has been removed by the author.
ReplyDeleteReally value the blog, including the essentials of the structure. Thanks for sharing the information with us. If you want to grow your online business with secure and unmanaged Server hosting, you can purchase France VPS Server Hosting at a very low cost.
ReplyDeleteThe blog is great, so thanks for sharing your splendid blog posts, we have many online business ideas that can make your business easier for your business website hosting. Italy VPS Server Hosting
ReplyDeleteGreat tips, thank you so much for your blog.
The article you posted is very useful, impressive, and wicked. Thank you so much for posting such an information. Italy Dedicated Server
ReplyDelete