I have a SQL Server 2000 db that has a log file that I need to make smaller. I know I can’t shrink it, what I need to do is either replace the log file with another or create a new db and copy all the objects into in.
I have tried to create a new log file, detach the db, delete the original log file and then tried to reattach the db with the original data file and new log file. This didn’t work.
I am now considering creating a new db and copying all the objects over but I am not too keen on doing this as I always have problems with the roles and user objects.
What is the best way of replacing the log file?
I have tried to create a new log file, detach the db, delete the original log file and then tried to reattach the db with the original data file and new log file. This didn’t work.
I am now considering creating a new db and copying all the objects over but I am not too keen on doing this as I always have problems with the roles and user objects.
What is the best way of replacing the log file?