﻿---
title: "SQL-073: Retrieve premiumsettype"
summary: Retrieve premiumsettype
status: draft
owner: Technical Writer
last_reviewed: 2026-07-31
library: SAIF.Business.Policy.Premium
reference_type: package
---

# SQL-073: Retrieve premiumsettype

Retrieve premiumsettype in the context of `clsPremiumSetType`.

## Classification

| Field | Value |
| --- | --- |
| **SQL ID** | SQL-073 |
| **Operation type** | Read |
| **Execution method** | Reader/Scalar |
| **Database** | Oracle |
| **Command type** | Text |
| **Schema** | [unqualified] |
| **Business object** | `clsPremiumSetType` |
| **Criteria property** | `RetrieveSQL` |
| **Lifecycle method** | BeforeRetrieve / AfterRetrieve |

## Parameters

| Parameter | Direction | Type | Max length | Description |
| --- | --- | --- | --- | --- |
| `:Code` | Input | String* | *inferred/unknown* | Bind variable in clsPremiumSetType.RetrieveSQL. |

## Tables

| Table | Access | Columns used |
| --- | --- | --- |
| [PREM_HIST_TYPE_CODE](../database-tables.md#prem_hist_type_code) | SELECT | See sample SQL |

## Sample SQL

```sql
SELECT
  PREM_HIST_TYPE_CODE.CODE as Code,
  PREM_HIST_TYPE_CODE.CODE_DESCR as Description,
  PREM_HIST_TYPE_CODE.GL_INCLUDE_FLAG as IncludeInGLFlag
FROM PREM_HIST_TYPE_CODE
WHERE
  PREM_HIST_TYPE_CODE.CODE = :Code
```


> **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.Premium/clsPremiumSetType.vb`
