Results 1 to 2 of 2
  1. #1
    Join Date
    May 2004

    Question Unanswered: Trigger for checking daterange from two columns?

    I want to create a trigger that fetches the date from two columns (StartDate & EndDate) and a venueID. if the new row inserted contains a date that already exist in an old daterange with the same venueID it raises an error.
    I want to check so there won't be any clashes when booking a venue.

    thanx in advance!

  2. #2
    Join Date
    Sep 2002
    Provided Answers: 1
    For what DBMS - Oracle, MS SQL Server, DB2, ...? Syntax will vary.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts