Recentemente trabalhando em um dos clientes foi preciso remover um dos arquivos do tempdb, ao apagar o arquivo recebi o erro tempdb cannot be removed.
Msg 5042, Level 16, State 1, Line 1
The file ‘tempdev2′ cannot be removed because it is not empty.
Como resolver isso? Da seguinte forma:
USE tempdb; GO DBCC SHRINKFILE('tempdev2', EMPTYFILE) GO USE master; GO ALTER DATABASE tempdb REMOVE FILE tempdev2;
Pronto, problema resolvido.
Blackjack, additionally known as twenty-one, is just one of one of the most popular gambling…
If you are a fan of online gambling, then you must have come across gry…
On the internet online casinos have transformed the betting industry, enabling players to vegas.hu online…
Casinos online offer free spins to draw new customers. These bonuses are usually very profitable,…
In recent times, online casino sites have actually obtained enormous appeal among gamers, providing a…
Bitcoin, the most preferred cryptocurrency worldwide, has reinvented lots of industries, including the on baixar…