?
Solved

Can anyone refer me to a data structure for holding cyclic/recurrence information?

Posted on 2012-04-04
1
Medium Priority
?
294 Views
Last Modified: 2012-06-22
Holding cyclic or recurrence information must be pretty common. An example of it would be the appointment recurrence dialog in Outlook.

I just wondered if there already exists a common or standard data structure for holding the details, rather than my trying to work through it from first principles.

Following the Outlook model, the following might be applicable, but I haven't suggested any data types:

time_start
time_end
time_duration
pattern_cycle (daily, weekly, monthly, yearly)
pattern_recurrence (e.g. recur every 2 weeks)
pattern_day (m t w t f s s)
pattern_weekday (flag)
pattern_day_of_month
pattern_week_of_month
range_start
range_end_date
range_end_count
0
Comment
Question by:purplesoup
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 25

Accepted Solution

by:
jogos earned 2000 total points
ID: 37805625
Don't look to far ... sqlAgent  the shedule of the jobs in dbo.sysschedules
http://msdn.microsoft.com/en-us/library/ms178644.aspx
0

Featured Post

Get proactive database performance tuning online

At Percona’s web store you can order full Percona Database Performance Audit in minutes. Find out the health of your database, and how to improve it. Pay online with a credit card. Improve your database performance now!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article explains how to reset the password of the sa account on a Microsoft SQL Server.  The steps in this article work in SQL 2005, 2008, 2008 R2, 2012, 2014 and 2016.
For both online and offline retail, the cross-channel business is the most recent pattern in the B2C trade space.
This videos aims to give the viewer a basic demonstration of how a user can query current session information by using the SYS_CONTEXT function
Viewers will learn how to use the SELECT statement in SQL to return specific rows and columns, with various degrees of sorting and limits in place.
Suggested Courses

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question