Delete tag history : Querry does not return results

Hi,

I'm trying to delete the history of a tag in a data base. I found the right tagid and I'm able to display the history with this querry:

SELECT * FROM sqlt_data_1_2024_08 WHERE tagid = 90;

Now I try to delete the history with this querry :

DELETE FROM sqlt_data_1_2024_08 WHERE tagid = 90;

But I get this error :

image

image

Can you help me with this?

You're using the wrong scripting function to call your query. You need to use one of the "update" variants.

1 Like