Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6689267
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T05:29:58+00:00 2026-05-26T05:29:58+00:00

I have a recurring event schema that has a RecurrenceType and a RecurrenceMultiple column.

  • 0

I have a recurring event schema that has a RecurrenceType and a RecurrenceMultiple column. The RecurrenceType is a foreign key to a table that has these options (1) No Recurrence (2) Daily (3) Weekly (4) Monthly. RecurrenceMultiple is an integer that indicates what multiple of the recurring time frame each event occurs. a few examples

  • RecurrenceType=1, RecurrenceMultiple=1 : One time only
  • RecurrenceType=2, RecurrenceMultiple=1 : Every day
  • RecurrenceType=3, RecurrenceMultiple=1 : Every week
  • RecurrenceType=3, RecurrenceMultiple=2 : Every other week
  • RecurrenceType=4, RecurrenceMultiple=1 : Every month
  • RecurrenceType=4, RecurrenceMultiple=3 : Every 3rd month
  • RecurrenceType=4, RecurrenceMultiple=12 : Yearly

I’d like to somehow combine these two columns in a way that I can infer the RecurrenceType allowing me to ditch the lookup table. I can’t think of a good way to do this though and avoid collisions.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T05:29:58+00:00Added an answer on May 26, 2026 at 5:29 am

    This is the approach I’ve decided to use

    A single column RecurrenceFrequency can be used if it’s assumed that 0 means no recurrence, positive values mean a timespan of X days and negative values mean a timespan of X months

    • 0 : One time only
    • 1 : Every day
    • 7 : Every week
    • 14 : Every other week
    • -1 : Every month
    • -3 : Every 3rd month
    • -12 : Yearly
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Suppose I have a non-recurring event that needs to be raised X seconds from
I'm configuring and testing spring security 3.1.0. I have a user that has ROLE_COMPANY_OWNER.
I am aware that questions about recurring events are common but I have not
The Sitecore Calendar Module doesn't have the features that we want: recurring events, multiple
I'm working a project that has recurring, weekly events. Thus, I use several DateTime
I have a need to allow for a user to download an event that
I have a problem that Curiously Recurring Templates could help quite nicely, but I
In a Java web application I have a recurring message load of type A
I enjoy developing algorithms using the STL, however, I have this recurring problem where
This query that I have is returning therapists whose 'therapistTable.activated' is equal to false

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.