Changes between Version 12 and Version 13 of DatabaseProgramming


Ignore:
Timestamp:
05/01/26 02:09:58 (37 hours ago)
Author:
231027
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • DatabaseProgramming

    v12 v13  
    286286
    287287}}}
     288
     289== Тестирање на `func_period_val`, `trg_period_check`
     290
     291{{{
     292
     293-- get the time of an event happening
     294SELECT event_time FROM "Event_Happening" WHERE event_happening_id = 1;  -- 2022-04-29 03:46:32.296118
     295
     296-- try to add an event period that is after the event happening
     297INSERT INTO "Event_Period" (event_happening_id, start_date, end_date, price_change_percent, increase_decrease)
     298VALUES (1, '2026-05-10', '2026-05-21', 10, TRUE);
     299
     300}}}