Solved

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

Posted on 2012-04-04
1
286 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
Comment Utility
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

Free Gift Card with Acronis Backup Purchase!

Backup any data in any location: local and remote systems, physical and virtual servers, private and public clouds, Macs and PCs, tablets and mobile devices, & more! For limited time only, buy any Acronis backup products and get a FREE Amazon/Best Buy gift card worth up to $200!

Join & Write a Comment

Occasionally there is a need to clean table columns, especially if you have inherited legacy data. There are obviously many ways to accomplish that, including elaborate UPDATE queries with anywhere from one to numerous REPLACE functions (even within…
Ever wondered why sometimes your SQL Server is slow or unresponsive with connections spiking up but by the time you go in, all is well? The following article will show you how to install and configure a SQL job that will send you email alerts includ…
Via a live example combined with referencing Books Online, show some of the information that can be extracted from the Catalog Views in SQL Server.
Via a live example, show how to shrink a transaction log file down to a reasonable size.

744 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

16 Experts available now in Live!

Get 1:1 Help Now