Connecting Tech Pros Worldwide Help | Site Map

Re: SQL Server 2008 caching

  #1  
Old August 8th, 2008, 08:25 AM
Erland Sommarskog
Guest
 
Posts: n/a
Manoj saini (tomksaini@gmail.com) writes:
Quote:
I need to give one functionality in my application as applicationl lock.
If my databsae is get lock at the time of backup, i need to give a
message to user that daatbse has been locked and ask him to log out.
This application is in Dot net2005. Before db lock , i set one parameter
in table and read this table every min with timer. if parameter is set
then i give message to user.
But to hit the DB every min is not good solution.
Pls help he, how i can avoid hit on dataabse
Why would the user have to log out when you do a backup in the first place?


--
Erland Sommarskog, SQL Server MVP, esquel@sommarskog.se

Books Online for SQL Server 2005 at
http://www.microsoft.com/technet/pro...ads/books.mspx
Books Online for SQL Server 2000 at
http://www.microsoft.com/sql/prodinf...ons/books.mspx
Closed Thread


Similar Threads
Thread Thread Starter Forum Replies Last Post
create aspnetdb from scratch Mr. X. answers 6 October 29th, 2008 09:35 PM
Re: SQL Server 2008 caching Roy Harvey (SQL Server MVP) answers 0 August 8th, 2008 07:35 PM
Configuration parameter in SQL database =?Utf-8?B?U3RlcGhhbmVWYXJpbg==?= answers 7 July 3rd, 2008 03:55 PM
Asp.Net session vs. Database Queries. DNB answers 3 November 29th, 2007 04:25 PM