Skip to content

oracle trigger and json_value

Hi I want to store some values from :new.payload via an trigger. this works in sql-developer but not in a trigger… select json_value(‘{“timestamp”:”2019-05-09T14:00:00Z”,”value”:0,”unit”:”W/m²”}’, …

Subquery is slow

I have a mysql table with about 10 Million rows. For each row, I have an id column and date column. The id column is not unique, and for one id there are multiple rows with different values for date, …