Topic: SQL*Plus and PL/SQL >> Package!!!!!!!!!
|
Disclaimer: The purpose of all dbapool forums including OCP and Other Oracle Certification forums is to help each other with specific issues but not to share dump and copyrighted exam content, materials or intellectual property.
You may review the entire Oracle Certification Program Candidate Agreement online Here.
|
|
|
|
| Rush |
Posted: Jun 25, 2008 06:57:39 AM |
Total Post: 127
Joined: Jan, 2007
|
Hi all
I have a small question
I want to create a package in which 4 procedure A,B,C,D are there and these
procedure should share a variable.where should i declare this variable in procedure specification or in procedure body.
Thanks
Rupesh |
|
|
ani |
| Posted: Jun 25, 2008 07:05:46 AM | |
|
Total Post: 3
Joined: Jun, 2008
|
I think you have to declare a variables in the package specification so that you can use it globally in the different procedure.
|
|
|
|
|
Vish |
| Posted: Oct 02, 2008 01:32:21 PM | |
|
Total Post: 100
Joined: Jan, 2007
|
Rush
I think you can not use same variable though out all the procedure.
What you have to do is you need to pass the parameter as inout and pass value to all the procedure during their call.
|
|
|
|
|
| Time Zone: EDT |
Send this thread to your friend |
|
|
|
|
Forum Rules & Description
Who Can Read The Forum? Any registered user or guest
Who Can Post New Topics? Any registered user
Who Can Post Replies? Any registered user
|
| |
Get FREE Magazines
|
Top 10 Forum User
|
| Murtuja Khokhar | 857 |
| Mohammed Taj | 746 |
| positive fanatic | 483 |
| Jayanta Sur | 479 |
| Vigyan Kaushik | 386 |
| Gopu Gopi | 334 |
| Gitesh Trivedi | 322 |
| Vinoth Kumar | 264 |
| neeraj sharma | 258 |
| Ramesh Jois | 246 |
|
|