View previous topic :: View next topic
|
Author |
Message |
mamta.mf
New User
Joined: 09 Sep 2006 Posts: 1
|
|
|
|
i am having doubts regarding the difference between plan and package in sql..
where exactly the difference occurs and what is the significant aplication of both,,,, |
|
Back to top |
|
|
kgumraj
Active User
Joined: 01 May 2006 Posts: 151 Location: Hyderabad
|
|
|
|
First the concept of plan has come
Plan:-
Plan is a concept where the programs are placed (DBRM's) in other sence, Plan is a collection of DBRM's
Package:-
Each DBRM constitute a Package, and no of packages constitute a plan.
So the modified definetion of the plan is "Collection of DBRM's"
Advantage of Packages over the plan,
I have program A and Program B (subprogram called by program A)
I precomile and place theirs DBRM's in plan. Now a need is their to change the program B. So I need to precompile both Program A and Program B, after chaning the code of Program B
So a concept of Package, Package make only the location like to mainprogram.
If I want to change Program B, I need to Precompile only it. So their is no need to precompile Program A |
|
Back to top |
|
|
priyesh.agrawal
Senior Member
Joined: 28 Mar 2005 Posts: 1448 Location: Chicago, IL
|
|
Back to top |
|
|
|