Skip to content
Snippets Groups Projects
Commit 26f899c7 authored by Jean-Laurent DUZANT's avatar Jean-Laurent DUZANT
Browse files

FIX #22825 TIME 0 remove ';'

parent 255390ec
No related branches found
No related tags found
No related merge requests found
......@@ -35,7 +35,7 @@ DECLARE
chrono_seq_name text;
BEGIN
-- Loop through each chrono (of current year) found in parameters table
FOR chrono IN (SELECT id, param_value_int as value FROM parameters WHERE id LIKE 'chrono%' || EXTRACT(YEAR FROM CURRENT_DATE);) LOOP
FOR chrono IN (SELECT id, param_value_int as value FROM parameters WHERE id LIKE 'chrono%' || EXTRACT(YEAR FROM CURRENT_DATE)) LOOP
chrono_seq_name := CONCAT(chrono.id, '_seq');
-- Check if sequence exist, if not create
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment