Re: Transaction Log

From: Allan Mitchell (allan_at_no-spam.sqldts.com)
Date: 07/09/03


Date: Wed, 9 Jul 2003 19:01:43 +0100


Hello, Shamim!

NO. There cannot be users in the DB when you go to do a restore.

--
Allan Mitchell (Microsoft SQL Server MVP)
MCSE,MCDBA
www.SQLDTS.com
I support PASS - the definitive, global community
for SQL Server professionals - http://www.sqlpass.org
: Is it possible to apply TRANSACTION LOG to a database while another
process
: (SP) reading data from the same db.??
: In my case, the job which applies 'Transaction Log' failed with an error
: message
: [Microsoft SQL-DMO (ODBC SQLState: 42000)] Error 3101: [Microsoft][ODBC
SQL
: Server Driver][SQL Server]Database in use. The system administrator must
: have exclusive use of the database to run the restore operation.
: [Microsoft][ODBC SQL Server Driver][SQL Server]Backup or restore operation
: terminating abnormally.
: Once the process (SP) completed, hourly transaction log job start working
..
: Any thoughts/Suggestions to handle this !!
      ---  Microsoft Outlook Express 5.50.4920.2300


Relevant Pages

  • Re: not a valid undo file for database
    ... The UNDO file is created when you perform RESTORE using the STANDBY option. ... This is because SQL Server will actually perform recovery based on the transaction log when you are ...
    (microsoft.public.sqlserver.server)
  • Re: begin and end transaction and transaction log
    ... found to truncate the transaction log is to stop and start the SQL ... If you run with full recovery and want to be table to restore to a point ... Books Online for SQL Server 2005 ...
    (comp.databases.ms-sqlserver)
  • Re: begin and end transaction and transaction log
    ... found to truncate the transaction log is to stop and start the SQL ... If you run with full recovery and want to be table to restore to a point ... Books Online for SQL Server 2005 athttp://www.microsoft.com/technet/prodtechnol/sql/2005/downloads/books ... ...
    (comp.databases.ms-sqlserver)
  • RE: undelete/undo - no backup
    ... I suggest you refer to MSDN Online or Books Online with Topic Backup and ... Restore for more detailed methods on SQL Server Backup and Restore ...
    (microsoft.public.sqlserver.server)
  • Re: Restore Transaction log or the .bak
    ... Databases located under Administering SQL Server. ... > If there is inconsistency on the DB and I want to restore to a last known ... should I restore the transaction log files which is backed up ...
    (microsoft.public.sqlserver.server)