Reputation: 17687
Generally with SQL Server, I could setup a job and have it run every so often. Something like this. However SQL Server Azure does not seem to have this ability.
My thoughts were to instead, have a service that runs this procedure every x minutes. I'm just wondering if anyone sees any issues with that, or has any better suggestions?
The stored procedure takes some xml data stored in one table and normalizes it across other tables making it easier to query on.
Upvotes: 3
Views: 3597
Reputation: 2322
You can trigger scheduled task running procedure directly from your application using, for example, Quartz.
Upvotes: 1
Reputation: 339
If you are open to using a service, Cotega offers the ability to schedule execution of stored procedures from within SQL Azure. You can read more about how to schedule these jobs here.
Full disclosure, I work on this service.
Upvotes: 2
Reputation: 1195
You can schedule jobs using the new Scheduler:
More Detail: http://www.windowsazure.com/en-us/develop/mobile/tutorials/schedule-backend-tasks/
Upvotes: 3