Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 306
  • Last Modified:

temp db in sql server

Why will the TempDB become full, and what will you do if it
happens?
0
sqlcurious
Asked:
sqlcurious
1 Solution
 
mayank_joshiCommented:
use the following script to shrink tempdb:-

USE [tempdb]
GO
DBCC SHRINKDATABASE(N'tempdb' )
GO
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now