> For the complete documentation index, see [llms.txt](https://doc.sysdevmobile.com/kalipso5/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc.sysdevmobile.com/kalipso5/developing/form/actions/actions-description/group-database/delete.md).

# Delete

Deletes one or more records from the specified Database Table.

Action available for the following operating systems:

![](/files/-MAlQBZuuTnc6hyzKSVQ)

### Parameters

* **Table** - Database Table where to delete the records from.
* **Where** *\<Kalipso Filter> or \<string> -* Condition to specify which records should be deleted. Check Expressions chapter for more information about Kalipso Filter and String expressions.\
  If this parameter is empty, an error may occur, if you have selected Prevent the execution of Update/Delete Statemens without Where clause in "Online" or "Offline", defined in the Project Properties. To bypass this safety feature without unchecking the options check Example 1.

### Usage

This function is intended to be similar Delete operation that exists in every SQL database, and is used to database tables according some conditions.

Consider the following Database Table:

| **Products** |            |           |
| ------------ | ---------- | --------- |
| **Code**     | **Name**   | **Stock** |
| 1            | Coca Cola  | 100       |
| 2            | Pepsi Cola | 200       |
| 3            | Pork Chops | 300       |

#### **Example 1**

| **Table** | Products |
| --------- | -------- |
| **Where** | 1=1      |

*Result:*

| **Products** |          |           |
| ------------ | -------- | --------- |
| **Code**     | **Name** | **Stock** |
| *empty*      | *empty*  | *empty*   |

#### **Example 2**

| **Table** | Products                          |
| --------- | --------------------------------- |
| **Where** | FIELD(Products,Name) LIKE "%Cola" |

*Result:*

| **Products** |            |           |
| ------------ | ---------- | --------- |
| **Code**     | **Name**   | **Stock** |
| 003          | Pork Chops | 300       |

{% hint style="info" %}
When you specify more than one condition in **Where** parameter, the operator used between the conditions is "**AND**" or "**OR**".
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://doc.sysdevmobile.com/kalipso5/developing/form/actions/actions-description/group-database/delete.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
