DB2

DB2 TRIM – Remove any characters from STRING

The DB2 TRIM function removes bytes from the beginning, from the end, or from both the beginning and end of…

4 years ago

DB2 VARCHAR Data Type use in COBOL-DB2

DB2 VARCHAR data type is used to store a string with variable-length characters but a maximum of the string length…

4 years ago

DB2 Data Types – Numeric, String & Datetime

In the DB2 database, while structuring tables, data types must be assigned to each and every field. The DB2 datatypes…

4 years ago

DB2 COPY PENDING status and recovery

DB2 COPY PENDING (COPY) restrictive status indicates that the affected object must be copied. Causes of COPY PENDING status If…

4 years ago

DB2 CHECK PENDING status and recovery

The LOAD utility places a tablespace in DB2 CHECK PENDING (CHKP) status if its referential integrity is in doubt or…

4 years ago

SQL Subqueries with IN or NOT IN operator

SQL Subqueries with IN or NOT IN check is similar to the ANY and SOME checks. Use the IN clause for multiple-record,…

4 years ago

SQL subqueries with operations & examples

SQL Subqueries are also called inner queries or inner select or a nested queries. The statement containing the subquery is…

4 years ago

SQL Subqueries with ANY or ALL operator

Comparison operators (=, >, < , etc.) are used only on subqueries that return one row. SQL Subqueries with ANY and ALL operators, you can…

4 years ago

OUTER JOIN – step by step walkthrough with examples

The JOIN operation allows you to combine rows from two or more tables based on a related column. OUTER JOIN…

4 years ago

INNER JOIN – step by step walkthrough with examples

There are four basic types of JOINS – Inner, Outer (left, right, full), Self and Cross join. An inner join…

4 years ago