Rule Definition
Complex select clauses, i.e select clauses with many column can be difficult to read and does not help the reader who needs to identify the relevant columns to be retrieved.
Also a query that retrieves many columns can potentially cause performance problems:
Such performance problems may arise when the execution of the query returns a large result sets (many row with many colums may then become a huge amount of data to transport over the network).
Remediation
Review the SELECT statement to reduce the number of selected columns.
Related Technologies
DB2 Server
Forms
Visual Basic
Cobol
PL/SQL
JEE
Microsoft T-SQL
Sybase T-SQL
DB2 z/OS
Technical Criterion
Complexity - SQL Queries
About CAST Appmarq
CAST Appmarq is by far the biggest repository of data about real IT systems. It's built on thousands of analyzed applications, made of 35 different technologies, by over 300 business organizations across major verticals. It provides IT Leaders with factual key analytics to let them know if their applications are on track.