Jump to content
xisto Community
Sign in to follow this  
abhigyan

Oracle Pl/sql No Type Checking Inside The Declaration Section

Recommended Posts

I always have wondered why Oracle doesn't checks for the type casting inside the declaration section of a pl/sql block and it also ignores the checking of size mismatch inside the declaration section. When you do one of the above mistake in side pl/sql stored procedure it compiles the code successfully but it gives the runtime error. Ideally it should go inside the exception block but it doesn't .Can Any one tell me why. I didn't find any proper ans. on any forum till now Edited by moderator (see edit history)

Share this post


Link to post
Share on other sites

I always have wondered why Oracle doesnt checks for the type casting inside the declaration section of a pl/sql block and it also ignores the checking of size mismatch inside the declaration section. When you do one of the above mistake in side pl/sql stored procedure it compiles the code successfully but it gives the runtime error. Ideally it should go inside the exception block but it doesnt .Can Any one tell me why. I didnt find any proper ans. on any forum till now

 


Could You pleas tell me what oracle product are you using for making the compilation?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.