Solved

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

Posted on 2012-04-04
1
291 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

The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

Question has a verified solution.

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

Suggested Solutions

How to leverage one TLS certificate to encrypt Microsoft SQL traffic and Remote Desktop Services, versus creating multiple tickets for the same server.
In this article we will get to know that how can we recover deleted data if it happens accidently. We really can recover deleted rows if we know the time when data is deleted by using the transaction log.
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
Using examples as well as descriptions, and references to Books Online, show the different Recovery Models available in SQL Server and explain, as well as show how full, differential and transaction log backups are performed

749 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