Running job afte every 30 min to insert records using Store procedure. If records are more than sp should insert all records in within time. How can i achive this?? How to auto scale this procedure.
Loading
Running job afte every 30 min to insert records using Store procedure. If records are more than sp should insert all records in within time. How can i achive this?? How to auto scale this procedure.
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Prasad RaveendranPosted Jul 14, 2023, 1:39 AM
Would you mind, if you could rephrase your question?
Praveen MishraPosted Jul 13, 2023, 8:31 AM
You can do using simple logic of Query Store in SQL Server
ALTER DATABASE YourDatabaseName SET QUERY_STORE = ON;Lokesh VarmanPosted Jul 13, 2023, 4:57 AM
An example of how you can achieve the desired functionality using SQL Server as the database system:
1. Create SP
2. Using SQL Server Agent, you can create a job that runs the stored procedure at regular intervals. An example of a job that runs every 30 minutes:
3. Within the stored procedure, implement error handling to handle any exceptions that may occur during the insertion process