DB2 Interview Questions
Questions Answers Views Company eMail

Which isolation level provides maximum concurrency?

666

What are the contents of a dclmgen?

628

What is role in db2?

620

What action db2 takes when a program aborts in the middle of a transaction?

659

What is the physical storage length of timestamp data type?

646

What is dclgen (declaration generator)?

603

What is the maximum length of sqlca?

869

How can you classify the locks in db2?

636

Which component is responsible for processing sql statements and selecting access paths?

671

What do you mean by storage group (stogroup)?

583

What is buffer pool?

613

What is the default page size of buffer pools?

649

What is the usage of open cursor command?

600

What is db2? Explain.

606

What is the use of predicate?

586


Post New DB2 Questions

Un-Answered Questions { DB2 }

What is the role of union all and union

650


On which levels locks can be applied?

659


What parameters are used to control the free space in DB2?

642


What is the use of predicate?

586


What is cursor stability in db2?

811






Is ibm db2 free?

575


What is a Foreign Key?

657


Define db2.

672


How do I copy a table in db2?

575


Why do we need reorg in db2?

564


How to execute stored procedures?

622


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.

2155


What is the use of dclgen in db2?

588


What are bind parameters in db2?

613


Explain about open switch business continuity software?

563