Solved

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

Posted on 2012-04-04
1
288 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
1 Comment
 
LVL 25

Accepted Solution

by:
jogos earned 500 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

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

Suggested Solutions

Why is this different from all of the other step by step guides?  Because I make a living as a DBA and not as a writer and I lived through this experience. Defining the name: When I talk to people they say different names on this subject stuff l…
Ever needed a SQL 2008 Database replicated/mirrored/log shipped on another server but you can't take the downtime inflicted by initial snapshot or disconnect while T-logs are restored or mirror applied? You can use SQL Server Initialize from Backup…
Via a live example, show how to extract information from SQL Server on Database, Connection and Server properties
Via a live example, show how to set up a backup for SQL Server using a Maintenance Plan and how to schedule the job into SQL Server Agent.

816 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

Need Help in Real-Time?

Connect with top rated Experts

7 Experts available now in Live!

Get 1:1 Help Now