Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Create database and modify existing transaction log
Message
 
To
All
General information
Forum:
Microsoft SQL Server
Category:
Other
Title:
Create database and modify existing transaction log
Environment versions
SQL Server:
SQL Server 2000
Miscellaneous
Thread ID:
01099779
Message ID:
01099779
Views:
59
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
Map
View

Click here to load this message in the networking platform