Changes between Version 6 and Version 7 of Stored Functions and Procedures


Ignore:
Timestamp:
05/13/26 20:36:50 (13 days ago)
Author:
193284
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Stored Functions and Procedures

    v6 v7  
    1010
    1111Calculates the total confirmed cost of a wedding using venue, photographer, and band bookings.
     12
     13The function calculates venue costs directly from booking prices and additionally computes photographer and band costs based on booked duration and hourly pricing.
    1214
    1315=== SQL Code ===
     
    5961Checks whether a venue is available for a selected date and time interval.
    6062
     63This implementation uses complete timestamp interval comparison instead of simple date equality checks in order to correctly detect all possible overlap scenarios.
     64
    6165This function compares complete timestamp intervals by combining the booking date with start and end time. It does not only compare equal dates.
    6266
     
    112116Checks whether a photographer is available for a selected date and time interval.
    113117
     118This implementation uses complete timestamp interval comparison instead of simple date equality checks in order to correctly detect all possible overlap scenarios.
     119
     120The function combines booking dates and times into complete timestamp intervals in order to correctly validate overlapping reservations.
     121
    114122=== SQL Code ===
    115123
     
    148156Checks whether a band is available for a selected date and time interval.
    149157
     158This implementation uses complete timestamp interval comparison instead of simple date equality checks in order to correctly detect all possible overlap scenarios.
     159
     160The function validates overlapping booking intervals using complete timestamp comparison between requested and existing reservations.
     161
    150162=== SQL Code ===
    151163
     
    184196Returns RSVP statistics for a selected event.
    185197
     198The procedure generates summarized RSVP information including accepted, declined, and pending responses for analytical and reporting purposes.
     199
    186200=== SQL Code ===
    187201