Skip to content

SQL-012 Select all task source codes

Retrieves the complete TASK_SOURCE_CODE reference list, ordered by description.

Classification

Field Value
SQL ID SQL-012
Operation type Read
Execution method Inline SQL
Database Oracle
Schema [unqualified]**
Command type Text
Business object clsTaskSourceCodeCollection
Criteria property RetrieveSQL
Lifecycle method BeforeRetrieve / AfterRetrieve

Tables

Table Access Columns used
TASK_SOURCE_CODE SELECT CODE, CODE_DESCR

Sample SQL

SELECT
  TASK_SOURCE_CODE.CODE AS Code,
  TASK_SOURCE_CODE.CODE_DESCR AS CodeDescr
FROM
  TASK_SOURCE_CODE
ORDER BY
  CODE_DESCR

Operations and processes

Business rules

Sources

  • SAIF.Business.Tasks/clsTaskSourceCodeCollection.vb