---
title: "SQL-062: Delete clsStatPremiumClass row"
summary: Delete clsStatPremiumClass row
status: draft
owner: Technical Writer
last_reviewed: 2026-07-31
library: SAIF.Business.Policy.Rating
reference_type: package
---

# SQL-062: Delete clsStatPremiumClass row

This document records the SQL used by `clsStatPremiumClass` in `SAIF.Business.Policy.Rating`.

## Classification

| Field | Value |
| --- | --- |
| **SQL ID** | SQL-062 |
| **Operation type** | Delete |
| **Execution method** | Data portal — criteria SQL |
| **Database** | Oracle |
| **Schema** | [unqualified]** |
| **Command type** | Text |
| **Business object** | `clsStatPremiumClass` |
| **Criteria property** | `DeleteSQL` |
| **Lifecycle method** | `BeforeDelete / AfterDelete` |

## Parameters

| Parameter | Direction | Type | Max length | Description |
| --- | --- | --- | --- | --- |
| `:inWCISRateFileSeqNum` | Input | Not specified | not specified | Bound parameter. |

## Tables

| Table | Access | Columns used |
| --- | --- | --- |
| [STAT_PREMIUM_CLASS](../database-tables.md#stat_premium_class) | DELETE | See sample SQL and source for column usage. |

## Sample SQL

```sql
delete from
  manual_class_base
where
  rate_file_seq_num = :inWCISRateFileSeqNum
```

## Operations and processes
- [Delete all manual class bases for a rate file](../operations/delete-all-manual-class-bases-for-a-rate-file.md)

## Business rules
- [BR-007](../business-rules.md#br-007-a-bulk-delete-of-manual-class-bases-by-rate-file-returns-false-on-any-error-and-does-not-surface-the-underlying-exception)

> **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.Rating\clsStatPremiumClass.vb:682-689`