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

# SQL-112: Delete policyperiodratingplan

Delete policyperiodratingplan in the context of `clsPolicyPeriodRatingPlan`.

## Classification

| Field | Value |
| --- | --- |
| **SQL ID** | SQL-112 |
| **Operation type** | Delete |
| **Execution method** | NonQuery |
| **Database** | Oracle |
| **Command type** | Text |
| **Schema** | N/A — accessed via DB link @POLDB (Policy database) |
| **Business object** | `clsPolicyPeriodRatingPlan` |
| **Criteria property** | `DeleteSQL` |
| **Lifecycle method** | BeforeDelete / AfterDelete |

## Parameters

| Parameter | Direction | Type | Max length | Description |
| --- | --- | --- | --- | --- |
| `:PolicyNumber` | Input | Numeric* | *inferred/unknown* | Bind variable in clsPolicyPeriodRatingPlan.DeleteSQL. |
| `:PolicyPeriodEffectiveDate` | Input | Date | *inferred/unknown* | Bind variable in clsPolicyPeriodRatingPlan.DeleteSQL. |
| `:RatingPlanEffectiveDate` | Input | Date | *inferred/unknown* | Bind variable in clsPolicyPeriodRatingPlan.DeleteSQL. |

## Tables

| Table | Access | Columns used |
| --- | --- | --- |
| [POLICY_PERIOD_RATING_PLAN](../database-tables.md#policy_period_rating_plan) | DELETE | See sample SQL |

## Sample SQL

```sql
Delete POLICY_PERIOD_RATING_PLAN
WHERE
  POLICY_NUM = :PolicyNumber
  AND POLICY_PERIOD_EFF_DATE = :PolicyPeriodEffectiveDate
  AND RATING_PLAN_EFF_DATE = :RatingPlanEffectiveDate
```


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