SAP ABAP Data Element QJNP (iSeries: Join Position (Database Monitor))
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-DB-DB4 (Application Component) DB2 for AS/400
     STU4 (Package) CCMS / AS/400
Basic Data
Data Element QJNP
Short Description iSeries: Join Position (Database Monitor)  
Data Type
Category of Dictionary Type D   Domain
Type of Object Referenced     No Information
Domain / Name of Reference Type QQDEC150    
Data Type DEC   Counter or amount field with comma and sign 
Length 15    
Decimal Places 0    
Output Length 19    
Value Table      
Further Characteristics
Search Help: Name    
Search Help: Parameters    
Parameter ID   
Default Component name    
Change document    
No Input History    
Basic direction is set to LTR    
No BIDI Filtering    
Field Label
  Length  Field Label  
Short 11 Join Pos. 
Medium 21 Join Position 
Long 41 Join Position 
Heading 55 Join Position 
Documentation

Definition

QQJNP is the join position of a table in the optimizer's join order for an SQL statement over multiple tables, as opposed to the relative position of the table in the original statement (see: QQJNDS).

Example

Original SQL statement:
select a.field_1
from table_1 as a, table_2 as b
where a.field_2 = b.field_2
If the optimizer reordered the join order to process table_2 first and then table_1, then table_2 has join position 1 with QQJNDS 2 and table_1 has join position 2 with QQJNDS 1.

History
Last changed by/on SAP  20070813 
SAP Release Created in