Tag: database

DB2 Group By and Order By Clauses

ORDER BY DB2 Order by clause is used to sort the result table values by the sort Key order. Here, sort key can be the column name or column number. Results can be sorted either by Ascending (ASC) or by Descending (DESC) order. ASC is the default order by clause. If you do not specify

DB2 Isolation Levels

DB2 Isolation Levels: How Isolation Levels are useful, what are the different Isolation Level types(CS, RR, RS & UR), how it controls the concurrency, What is Concurrency?,  which one is better to use among the four types? What are the advantages and disadvantages ?These are the questions we often encounter. So this topic explains these queries

DB2 Locks and Importance of Concurrency Control

What is a DB2 Lock? It is a Mechanism provided by DB2 to maintain the access to different database objects. What is Concurrency in DB2? Concurrency is a way which enables more than one application to access the same database object at the same time.  Locks and Concurrency control is the most important aspect in