what is plan?
is plan executable or package?

Answers were Sorted based on User's Feedback



what is plan? is plan executable or package?..

Answer / harsha

paln is nothing but collection of packages

paln is executable where package is non-executable

Is This Answer Correct ?    14 Yes 3 No

what is plan? is plan executable or package?..

Answer / tej

A small correction for Harsha's answer

Plan can also contain DBRMs along with collections of packages.

and Yes,Plan is executable where as package is not.

Is This Answer Correct ?    4 Yes 2 No

what is plan? is plan executable or package?..

Answer / nidhi

Plan and packages both are executable.
Package is the executable form of single DBRM while
multiple pacages or DBRM can be bind together through the
same plan.

Is This Answer Correct ?    2 Yes 10 No

what is plan? is plan executable or package?..

Answer / hatam

A package contains control structures used to execute SQL
statements
A plan is
1- A list of package names
2- The bound form of SQL statements taken from one or more
DBRMs
package is executable and plan not

Is This Answer Correct ?    0 Yes 19 No

Post New Answer

More DB2 Interview Questions

How to create db2 table in mainframe?

0 Answers  


What is the significance of the CURSOR WITH HOLD clause in a cursor declaration?

4 Answers  


Suppose I have a program which uses a dynamic SQL and it has been performing well till now. Off late, I find that the performance has deteriorated. What happened?

1 Answers  


what is the role of the cursor in db2?

0 Answers  


What is a synonym ?

2 Answers  






What is the difference between db2 and oracle?

0 Answers  


Is the primary key a clustered index?

0 Answers  


What is db2 connect?

0 Answers  


What is a base table?

2 Answers  


Give a brief description of db2 isolation levels?

0 Answers  


How to execute stored procedures?

0 Answers  


what is the difference between declaring the cursor in WS section and Procedure division?

1 Answers   HCL,


Categories