Click here to Skip to main content
15,895,142 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
hi Every 15 min my database is gone to restore mode and my another database access some table from that database just for select query. b/c of this restoring mode i get error database going to restore mode .. is there any way to avoid this error. i just want to execute select query ...

thanks
gourav
Posted
Comments
Sergey Alexandrovich Kryukov 24-Sep-13 9:28am    
Not enough information.
—SA
[no name] 24-Sep-13 9:42am    
Since presumably you cannot do anything about the timing, catch the exception and try again at some later point in time. What exactly is the problem?
gourav agrawal 24-Sep-13 10:16am    
but it gone on restoring mode every 15 min and my query take more than 15 min to execute..
[no name] 24-Sep-13 10:36am    
If you have query that runs for longer than 15 minutes, you need to think about what it is that you are doing and try something else.

1 solution

Can you grab a copy of the table and use that for your query?
I assume you are using a published table, can you have them change the schedule?
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900