search envelope-o feed check
Home Unanswered Active Tags New Question
user comment-o

Creating reports with SQL and recurrent appointments?

Asked by Gabriel
12 years ago.

Hi there,

I'm having troubles creating reports with T-SQL having a table with recurrent appointments which off course only has the base appointments and possible exceptions.
Is there any SQL-code available to 'expand' the appointments within SQL using the stored recurrence-info?

The only other option would be to get the records from the database, expand them within an application and save the expanded records back to the database, where I could use them to create the reports. That sounds like a hassle?

Thank you for any tips!

Answer posted by Dan Letecky [DayPilot]
12 years ago.

The only option I can see is to try to create a .NET stored procedure and call the RecurrenceExpander from there. I haven't tried it, however.

This question is more than 1 months old and has been closed. Please create a new question if you have anything to add.