What is the difference between a package and a plan?

Answer Posted / rajyalakshmi

Plan will contain the package we can execute the plan but
we cant execute the package.
Plan will contain number of packagees.In Package only one
DBRM is present but in plan number of DBRMs r there.

Is This Answer Correct ?    24 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

SET is the ANSI standard for variable assignment, SELECT is not. SET can only assign one variable at a time, SELECT can make multiple assignments at once. If assigning from a query, SET can only assign a scalar value. If the query returns multiple values/rows then SET will raise an error. SELECT will assign one of the values to the variable and hide the fact that multiple values were returned (so you'd likely never know why something was going wrong elsewhere - have fun troubleshooting that one) When assigning from a query if there is no value returned then SET will assign NULL, where SELECT will not make the assignment at all (so the variable will not be changed from it's previous value) As far as speed differences - there are no direct differences between SET and SELECT. However SELECT's ability to make multiple assignments in one shot does give it a slight speed advantage over SET.

2142


How do I delete a table in database?

593


What are the contents of a dclmgen?

621


What does runstats do in db2?

601


How do I import data from excel to db2?

607






Explain how can you do the explain of a dynamic sql statement?

645


What is difference between rollback and commit?

616


What is sqlca’s maximum length?

663


Explain in brief how does db2 determine what lock-size to use?

587


What is temporal table in db2?

597


Suppose pgm A calling Pgm B .Pgm B has some Db2 program. at the time of compilation should plan and package will be created for both A and B or only B? What is the concept?

6806


What is dbrm?

632


What is copy pending status in db2?

627


How many types of page locks can be held in db2?

584


Is it possible using max on a char column?

596