[MS SQL Server] issue with tempdb |
Posted: 05 Jul 2013 05:36 AM PDT I needed to move the temp db that was in e:\mssql\data to c:\ This was temporary, because I was replacing the e drive. The sql application is installed on c drive in the default location, but tempdb was in e drive. I ran the code below and restarted the sql services and now SQL studio won't work for me. I can't connect to the server. Is reinstalling SQL server 2008 the only way to fix this?USE master;GOALTER DATABASE tempdbMODIFY FILE (NAME = tempdev, FILENAME = 'c:\tempdb.mdf');GOALTER DATABASE tempdbMODIFY FILE (NAME = templog, FILENAME = 'c:\templog.ldf') |
You are subscribed to email updates from SQLServerCentral / SQL Server 2008 / SQL Server 2008 Administration To stop receiving these emails, you may unsubscribe now. | Email delivery powered by Google |
Google Inc., 20 West Kinzie, Chicago IL USA 60610 |
No comments:
Post a Comment