Top Menu

Jump to content
Home
    Modules
      • Projects
      • Activity
    • Getting started
    • Introduction video
      Welcome to Accure Project Management System
      Get a quick overview of project management and team collaboration with OpenProject. You can restart this video from the help menu.

    • Help and support
    • Upgrade to Enterprise edition
    • User guides
    • Videos
    • Shortcuts
    • Community forum
    • Enterprise support

    • Additional resources
    • Data privacy and security policy
    • Digital accessibility (DE)
    • OpenProject website
    • Security alerts / Newsletter
    • OpenProject blog
    • Release notes
    • Report a bug
    • Development roadmap
    • Add and edit translations
    • API documentation
  • Sign in
      Forgot your password?
      Create a new account

Side Menu

  • Overview
  • Documents
  • Impulse DW
    Impulse DW
  • Inset BI
    Inset BI
  • Momentum User Guide
    Momentum User Guide
  • Wiki
    Wiki

Content

You are here:
  1. Impulse DW
  2. 2. Warehouse Management
  3. 2.6 Delete Table Records (Rows)

2.6 Delete Table Records (Rows)

  • More
    • Print
    • Table of contents

Impulse data structure is optimized for efficient query execution. The index structure within Impulse makes it hard to delete a specific record or a group of records. Impulse provides a mechanism to delete table records using "Delete" statement as described below.

It is important to note that the delete operation is very expensive -- it reindexes the entire datasource/table and, therefore, it is likely to take time and resources.

NOTE: Do not ingest any data to the same table from where the records are being deleted, until the delete operation is completed.  Ingesting data while delete operation is still on will cause the data loss (of the new data being ingested).

To delete a row or set of rows matching a criteria, write the following query in the SQL statement field and click run (as shown in Figure 2.6a below).

DELETE FROM "DW_ALIAS.TABLENAME" WHERE RecordDate BETWEEN '2000-01-01' AND '2021-12-31'

The where clause supports the following operators:

AND

OR

BETWEEN

The following conditional operators are supported:

Operator Condition
== equal to
!= not equal to
> greater than
>= greater than or equal to 
< less than
<= less than or equal to
Loading...