Jump to content



Welcome to KnowledgeSutra - Dear Guest , Please Register here to get Your own website. - Ask a Question / Express Opinion / Reply w/o Sign-Up!
- - - - -

Oracle Pl/sql No Type Checking Inside The Declaration Section


1 reply to this topic

#1 abhigyan

    Member [Level 1]

  • Kontributors
  • PipPipPipPip
  • 71 posts
  • Gender:Male
  • Location:India
  • myCENT:65.60

Posted 12 January 2009 - 12:26 PM

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

#2 MiltonFG

    Newbie

  • Kontributors
  • Pip
  • 4 posts
  • Gender:Male

Posted 22 July 2010 - 01:59 AM

View Postabhigyan, 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


This post will need approval from a moderator before this post is shown.

  


1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users