
November 19th, 2004, 11:15 AM
|
|
Registered User
|
|
Join Date: Oct 2003
Posts: 4
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
|
Database Maintenance Message
Hi,
I have created a DTS package that imports 12 Visual FoxPro tables into SQL Server 2000. This package drops the existing tables, recreates them and imports the data and is scheduled to run every night.
I would like to restrict access to the database while the package is running. If a user does try to access the database during this time I would like to inform the user that the 'database is currently undergoing routine maintenance'.
Also, is it possible to implement a method to check if the database is being accessed. For example, 10 minutes before the DTS package begins, a message should be sent to inform users that the 'database will be disconnected in 10 minutes for routine maintenance'
This database will be accessed via ASP.
Any ideas what would be the best way to implement the above?
|