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
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.
How do I delete a table in database?
What are the contents of a dclmgen?
What does runstats do in db2?
How do I import data from excel to db2?
Explain how can you do the explain of a dynamic sql statement?
What is difference between rollback and commit?
What is sqlca’s maximum length?
Explain in brief how does db2 determine what lock-size to use?
What is temporal table in db2?
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?
What is dbrm?
What is copy pending status in db2?
How many types of page locks can be held in db2?
Is it possible using max on a char column?