Skip to content

SQL-126: Update county

Update county in the context of clsCounty.

Classification

Field Value
SQL ID SQL-126
Operation type Update
Execution method IDataRequest.SQLStatement (CommandType.Text)
Database Oracle
Schema [unqualified]**
Command type Text
Business object clsCounty
Criteria property UpdateSQL
Lifecycle method BeforeUpdate / AfterUpdate

Parameters

Parameter Direction Type Max length Description
:Code Input bound from Code 5 Bound in clsCounty.BeforeUpdate (line 278)
:Name Input bound from Name 40 Bound in clsCounty.BeforeUpdate (line 279)
:State Input bound from State 2 Bound in clsCounty.BeforeUpdate (line 280)
:OfficeCode Input bound from m_OfficeCode 5 Bound in clsCounty.BeforeUpdate (line 281)

Tables

Table Access Columns used
COUNTY UPDATE See sample SQL

Sample SQL

UPDATE
  COUNTY
SET
  COUNTY_CODE = :Code,
  COUNTY_NAME = :Name,
  STATE = :State,
  OFFICE_CODE = :OfficeCode
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