Skip to content

SQL-054: Retrieve county

Retrieve county in the context of clsCounty.

Classification

Field Value
SQL ID SQL-054
Operation type Read
Execution method IDataRequest.SQLStatement (CommandType.Text)
Database Oracle
Schema [unqualified]**
Command type Text
Business object clsCounty
Criteria property RetrieveSQL
Lifecycle method BeforeRetrieve / AfterRetrieve

Parameters

Parameter Direction Type Max length Description
:Code Input bound from MyCriteria.Code 5 Bound in clsCounty.BeforeRetrieve (line 251)

Tables

Table Access Columns used
COUNTY SELECT See sample SQL

Sample SQL

SELECT
  COUNTY.COUNTY_CODE as Code,
  COUNTY.COUNTY_NAME as Name,
  COUNTY.STATE as State,
  COUNTY.OFFICE_CODE as OfficeCode
FROM
  COUNTY
WHERE
  COUNTY.COUNTY_CODE = :Code

Business rules

Note: Statements marked with * were inferred from code structure, naming conventions, or contextual evidence where direct confirmation was not available in source artifacts. Statements marked with ** could not be confirmed; treat as unknown until verified.

Sources

  • Business\SAIF.Business.Policy.Core\clsCounty.vb