Skip to content

SQL-007: Retrieve market type code

Retrieve the persisted market-type code for a policy.

Classification

Field Value
SQL ID SQL-007
Operation type Read
Execution method Inline SQL
Database Oracle
Schema [unqualified]**
Command type Text
Business object N/A (Application layer)
Criteria property N/A
Lifecycle method MarketType

Parameters

| Parameter | Direction | Type | Max length | Description | | :in_policy_num | Input | NUMBER | N/A | Policy number. |

Tables

Table Access Columns used
POLICY SELECT POLICY_NUM, MARKET_TYPE_CODE

Sample SQL

Select
  market_type_code
from policy
where policy_num = :in_policy_num

Operations and processes

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\PolicyInformation.vb