General information
Forum:
Microsoft SQL Server
Title:
Create database and modify existing transaction log
Environment versions
SQL Server:
SQL Server 2000
Hi,
we create after installation of our application, if USE HM fails, with the following t-sql statement a database:
create database HM
We don't want give the File option FILENAME='c:\...', because we don't want to set absolute paths on SQL-Server machine (rights, ...).
We need commands for
- setting maxsize of transaction log from a unlimited size to a limited size
?ALTER DATABASE HM MODIFY FILE (NAME = N'HM_log ', MAXSIZE = 10)
- reducing (or deleting) size of transaction log, because maxsize can't
be reduced to a mb size lower than the actual size.
What is a recommended size for transaction log ?
Thank you,
Andreas
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only