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
| |
|
Welcome to KnowledgeSutra - Dear Guest | |
Oracle Pl/sql No Type Checking Inside The Declaration Section
Started by abhigyan, Jan 12 2009 12:26 PM
1 reply to this topic
#2
Posted 22 July 2010 - 01:59 AM
abhigyan, on 12 January 2009 - 12:26 PM, said:
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
Could You pleas tell me what oracle product are you using for making the compilation?
Reply to this topic

1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users














