Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 Transact-SQL (2000)
 How to create a logfile

Author  Topic 

objkiran
Starting Member

11 Posts

Posted - 2004-12-23 : 09:18:44
Hello how to create a second logfile and point database to the newly created log file and then delete the first log file. and rename the new log file to the old one.

X002548
Not Just a Number

15586 Posts

Posted - 2004-12-23 : 09:52:15
Should be in the admin forum....

But, why would you want to do this?

Do you just need to dump the log?

AND, I did not know that in SQL Server you could specifiy more than 1 log file.

I thought that was only an Oracle thing.

So...How does SQL Server work with more than 1 log file? I wonder if it works just like the redo logs...and in what order do you reapply them?



Brett

8-)
Go to Top of Page

nr
SQLTeam MVY

12543 Posts

Posted - 2004-12-23 : 10:24:47
Are you talking about the transaction log (a database thing)
or the sql server error log (a sql server thing)

==========================================
Cursors are useful if you don't know sql.
DTS can be used in a similar way.
Beer is not cold and it isn't fizzy.
Go to Top of Page
   

- Advertisement -