Feb 28, 2006 #1 ifntech Programmer Nov 4, 2004 80 US Looking to see what others have done to setup process for adding recurring events. Similiar to scheduling a meeting every week. Looking for best practice. Stored procedures, auto generate, etc.???????
Looking to see what others have done to setup process for adding recurring events. Similiar to scheduling a meeting every week. Looking for best practice. Stored procedures, auto generate, etc.???????
Feb 28, 2006 #2 SQLDenis Programmer Oct 1, 2005 5,575 US I use scheduled jobs for that Denis The SQL Menace SQL blog:http://sqlservercode.blogspot.com/ Personal Blog:http://otherthingsnow.blogspot.com/ Upvote 0 Downvote
I use scheduled jobs for that Denis The SQL Menace SQL blog:http://sqlservercode.blogspot.com/ Personal Blog:http://otherthingsnow.blogspot.com/
Feb 28, 2006 Thread starter #3 ifntech Programmer Nov 4, 2004 80 US Can you give me a little more detail. The user will select recurring event weekly. How would it show in the database. Do you generate records for a set period out. What happens if they cancel. Do you have another job that then looks for those and deletes. Trying to figure out the most efficient way to generate the records for viewing future events. Upvote 0 Downvote
Can you give me a little more detail. The user will select recurring event weekly. How would it show in the database. Do you generate records for a set period out. What happens if they cancel. Do you have another job that then looks for those and deletes. Trying to figure out the most efficient way to generate the records for viewing future events.
Feb 28, 2006 #4 SQLDenis Programmer Oct 1, 2005 5,575 US Ok, I misunderstood, I thought you needed to run something once a week can you show some sample code, what kind of data is this? You can have an active bit field to handle the cancellations for example Denis The SQL Menace SQL blog:http://sqlservercode.blogspot.com/ Personal Blog:http://otherthingsnow.blogspot.com/ Upvote 0 Downvote
Ok, I misunderstood, I thought you needed to run something once a week can you show some sample code, what kind of data is this? You can have an active bit field to handle the cancellations for example Denis The SQL Menace SQL blog:http://sqlservercode.blogspot.com/ Personal Blog:http://otherthingsnow.blogspot.com/
Feb 28, 2006 Thread starter #5 ifntech Programmer Nov 4, 2004 80 US I have no sample code yet. events are stored in the records I need the option of making an event recurring on ie. weekly or monthly basis. I'm unsure on best way to manage recurring events. If people actually generate future events as records or just some type of coded virtual event on event type of say recurring. Upvote 0 Downvote
I have no sample code yet. events are stored in the records I need the option of making an event recurring on ie. weekly or monthly basis. I'm unsure on best way to manage recurring events. If people actually generate future events as records or just some type of coded virtual event on event type of say recurring.