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

# SQL-033: Insert policyrenewalratingplan

Insert policyrenewalratingplan in the context of `clsPolicyRenewalRatingPlan`.

## Classification

| Field | Value |
| --- | --- |
| **SQL ID** | SQL-033 |
| **Operation type** | Insert |
| **Execution method** | NonQuery |
| **Database** | Oracle |
| **Command type** | Text |
| **Schema** | [unqualified] |
| **Business object** | `clsPolicyRenewalRatingPlan` |
| **Criteria property** | `InsertSQL` |
| **Lifecycle method** | BeforeInsert / AfterInsert |

## Parameters

| Parameter | Direction | Type | Max length | Description |
| --- | --- | --- | --- | --- |
| `:PolicyNumber` | Input | Numeric* | *inferred/unknown* | Bind variable in clsPolicyRenewalRatingPlan.InsertSQL. |
| `:EffectiveDate` | Input | Date | *inferred/unknown* | Bind variable in clsPolicyRenewalRatingPlan.InsertSQL. |
| `:ExpirationDate` | Input | Date | *inferred/unknown* | Bind variable in clsPolicyRenewalRatingPlan.InsertSQL. |
| `:Code` | Input | String* | *inferred/unknown* | Bind variable in clsPolicyRenewalRatingPlan.InsertSQL. |
| `:TypeCode` | Input | String* | *inferred/unknown* | Bind variable in clsPolicyRenewalRatingPlan.InsertSQL. |
| `:ImpReasonCode` | Input | String* | *inferred/unknown* | Bind variable in clsPolicyRenewalRatingPlan.InsertSQL. |
| `:RatingPlanFactor` | Input | Numeric* | *inferred/unknown* | Bind variable in clsPolicyRenewalRatingPlan.InsertSQL. |
| `:SARAPFactor` | Input | Numeric* | *inferred/unknown* | Bind variable in clsPolicyRenewalRatingPlan.InsertSQL. |
| `:CreateDate` | Input | Date | *inferred/unknown* | Bind variable in clsPolicyRenewalRatingPlan.InsertSQL. |
| `:CreateUser` | Input | String* | *inferred/unknown* | Bind variable in clsPolicyRenewalRatingPlan.InsertSQL. |
| `:UpdateDate` | Input | Date | *inferred/unknown* | Bind variable in clsPolicyRenewalRatingPlan.InsertSQL. |
| `:UpdateUser` | Input | Date | *inferred/unknown* | Bind variable in clsPolicyRenewalRatingPlan.InsertSQL. |

## Tables

| Table | Access | Columns used |
| --- | --- | --- |
| [POLICY_RENEWAL_RATING_PLAN](../database-tables.md#policy_renewal_rating_plan) | INSERT | See sample SQL |

## Sample SQL

```sql
Insert into POLICY_RENEWAL_RATING_PLAN (
  POLICY_NUM,
  RATING_PLAN_EFF_DATE,
  RATING_PLAN_EXP_DATE,
  RATING_PLAN_CODE,
  RATING_PLAN_TYPE_CODE,
  RATING_PLAN_IMP_REASON_CODE,
  RATING_PLAN_FACTOR,
  SARAP_FACTOR,
  CREATE_DATE,
  CREATE_USER,
  UPDATE_DATE,
  UPDATE_USER
)
VALUES (
  :PolicyNumber,
  :EffectiveDate,
  :ExpirationDate,
  :Code,
  :TypeCode,
  :ImpReasonCode,
  :RatingPlanFactor,
  :SARAPFactor,
  :CreateDate,
  :CreateUser,
  :UpdateDate,
  :UpdateUser
)
```


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