Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

C++ style variable declaration

VishalakshaNov 12 2010 — edited Nov 12 2010
Hi All,

I was thinking about the new features in PL/SQL for future releases and then I thought about one main difference between C and C++ language. In C language we can declare a variable only in declaration section but in C++ we have freedom to declare it anywhere before its first access. I think there should be a same functionality in the PLSQL also to declare the variable anywhere in the code. Many of us would love to see that.

Please provide your opinions.

Thanks
Vishalaksha
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 10 2010
Added on Nov 12 2010
6 comments
211 views