---
title: SQL-072: Update Provider Identity
summary: Updates an existing provider identity record in Oracle.
status: draft
owner: SAIF
last_reviewed: 2026-07-24
library: SAIF.Business.Provider
reference_type: package
---

# SQL-072: Update Provider Identity

Updates an existing provider identity record in Oracle.

## Classification

| Field | Value |
| --- | --- |
| **SQL ID** | SQL-072 |
| **Operation type** | Update |
| **Execution method** | Inline |
| **Database** | Oracle |
| **Schema** | [unqualified]** |
| **Command type** | Text |
| **Business object** | `clsProviderIdentity` |
| **Criteria property** | `UpdateSQL` |
| **Lifecycle method** | `BeforeUpdate` |

## Parameters

| Parameter | Direction | Type | Max length | Description |
| --- | --- | --- | --- | --- |
| :ProviderLocationSeqNum | Input | DECIMAL | N/A | Value from `ProviderLocationSeqNum` |
| :ProviderIdentityCode | Input | STRING | 5 | Value from `ProviderIdentityCode` |
| :IdentityValue | Input | Unspecified | 16 | Value from `IdentityValue.ToUpper` |
| :IdentityName | Input | clsSmartSTRING | 20 | Value from `m_IdentityName` |
| :UpdateUser | Input | STRING | 30 | Value from `UpdateUser` |
| :UpdateNum | Input | DECIMAL | N/A | Value from `UpdateNum` |
| :UpdateDate | Input | DATE | N/A | Value from `UpdateDate` |
| :ProviderIdentitySeqNum | Input | DECIMAL | N/A | Value from `ProviderIdentitySeqNum` |

## Tables

| Table | Access | Columns used |
| --- | --- | --- |
| [PROVIDER_IDENTITY](../database-tables.md#provider_identity) | UPDATE | See business-object criteria for key columns. |

## Sample SQL

```sql
Update PROVIDER_IDENTITY Set PROVIDER_IDENTITY_SEQ_NUM = :ProviderIdentitySeqNum, PROVIDER_LOCATION_SEQ_NUM = :ProviderLocationSeqNum, PROVIDER_IDENTITY_CODE = :ProviderIdentityCode, IDENTITY_VALUE = :IdentityValue, IDENTITY_NAME = :IdentityName, UPDATE_USER = :UpdateUser, UPDATE_NUM = UPDATE_NUM + 1, UPDATE_DATE = :UpdateDate Where PROVIDER_IDENTITY.PROVIDER_IDENTITY_SEQ_NUM = :ProviderIdentitySeqNum AND UPDATE_NUM = :UpdateNum
```


## Business rules
- [BR-010: National Provider ID values must be 10 digits](../business-rules.md#br-010-national-provider-id-values-must-be-10-digits)

> **Note:** Statements marked with `**` could not be confirmed; treat as unknown until verified.

## Sources
- `Business\SAIF.Business.Provider\clsProviderIdentity.vb`
