Interview Questions   Tutorials   Discussions   Programs   

DB2 - What is the difference between a package and a plan?




268
views
asked mar August 3, 2014 05:43 AM  

What is the difference between a package and a plan?


           

1 Answers



 
answered By Mswami   0  
PLAN: A result of the BIND process.  It has the executable code for the SQL statements in the DBRM.
Plan is a DB2 object (produced during the bind process) that associates one or more database request modules with a plan name.
PACKAGE: They contain executable code for SQL statements for one DBRM.

PLAN is executable where as PACKAGE is not & it has to be bound to a plan.
flag   
   add comment

Your answer

Join with account you already have

FF

Preview


Ready to start your tutorial with us? That's great! Send us an email and we will get back to you as soon as possible!

Alert