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
 SQL Server Administration (2000)
 Growing a database with a TSQL command!

Author  Topic 

AskSQLTeam
Ask SQLTeam Question

0 Posts

Posted - 2003-10-24 : 08:27:25
zak writes "My database does not autogrow the log file as it is supposed to all the time (does sometimes, but reliably). I would like to find a command to grow the log file by say 50megs when the "log full" error occurs...

I have not been able to find the command anywhere.

I am using MS SQL 2000 enterprise with sp3!"

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2003-10-24 : 12:33:24
Check out the ALTER DATABASE command in SQL Server Books Online.

BTW, the log file will autogrow reliably. As soon as it runs out of disk space, it autogrows according to what you have specified. Perhaps, your autogrow percentage or size is too small and it can't keep up with it.

Tara
Go to Top of Page
   

- Advertisement -