Let's say you...ALTER DATABASE Test1 ADD LOG FILE ( NAME = test1log2, FILENAME = 'c:\Program Files\Microsoft SQL Server\MSSQL\Data\test2log.ldf', SIZE = 5MB, MAXSIZE = 100MB, FILEGROWTH = 5MB)GO
And then later you want to remove the log file you added.In order to alter database remove file, the file must be emptied....dbcc shrinkfile(test1log2,emptyfile)...But a log file can only be shrunk to the virtual log file boundary.I've seen scripts that do dummy transactions to wrap the virtual log boundray around to the front so that the file can be shrunk ... but how do you do this in a multi-log file situation?Jay White{0}