---
title: SQL-087: Delete Note
summary: Deletes note data from Oracle.
status: draft
owner: SAIF
last_reviewed: 2026-07-24
library: SAIF.Business.Provider
reference_type: package
---

# SQL-087: Delete Note

Deletes note data from Oracle.

## Classification

| Field | Value |
| --- | --- |
| **SQL ID** | SQL-087 |
| **Operation type** | Delete |
| **Execution method** | Inline |
| **Database** | Oracle |
| **Schema** | [unqualified]** |
| **Command type** | Text |
| **Business object** | `clsNote` |
| **Criteria property** | `DeleteSQL` |
| **Lifecycle method** | `BeforeDelete` |

## Parameters

| Parameter | Direction | Type | Max length | Description |
| --- | --- | --- | --- | --- |
| :CbpNoteSeqNum | Input | Decimal | N/A | Value from `m_CbpNoteSeqNum` |
| :UpdateNum | Input | Decimal | N/A | Value from `m_UpdateNum` |

## Tables

| Table | Access | Columns used |
| --- | --- | --- |
| [CBP_NOTE](../database-tables.md#cbp_note) | DELETE | See business-object criteria for key columns. |

## Sample SQL

```sql
Delete CBP_NOTE Where CBP_NOTE.CBP_NOTE_SEQ_NUM = :CbpNoteSeqNum AND CBP_NOTE.UPDATE_NUM = :UpdateNum
```


## Operations and processes
- [Maintain provider notes](../operations/maintain-provider-notes.md)

## Business rules
- [BR-015: Notes require both type and text](../business-rules.md#br-015-notes-require-both-type-and-text)

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

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