dcsimg
LinkedIn
Twitter
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


advertisement
 

Tip: Resize Your TempDB in SQL

Learn how to resize the tempdb temporary database in SQL.


advertisement

You can resize the tempdb temporary database in SQL by using the ALTER DATABASE command, as shown below:

ALTER DATABASE tempdb
MODIFY FILE (Name = tempdb_data, filesize = 100MB),
MODIFY FILE (NAME = tempdb_log , filesize = 20MB);

This resizes the data and log files of tempdb respectively.

 

Visit the DevX Tip Bank

 



   
Email AuthorEmail Author
Close Icon
Thanks for your registration, follow us on our social networks to keep up-to-date