INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Jobs

SQL Server Administration

SQL Server TEMPDB WARNING by CasperTFG
Posted: 26 Mar 02

It was suggested i make an FAQ for this so here ya go.

Just for anyone new to SQL Server (As I just assisted another with this problem)  Do not put data you want to keep into the TEMPDB created automatically by SQL Server.

I had a client who wanted to re-create his DB, he moved all the data into TEMPDB, droped the old database, but then just as he was creating the new DB, the Server PC locked up and crashed.

When he rebooted all of his data was gone.  This is quite normal apparently with SQL Server, If you read the docs you'll see that SQL Server will drop and recreate the entire TEMPDB database everytime the server is started.

Back to Microsoft SQL Server: Programming FAQ Index
Back to Microsoft SQL Server: Programming Forum

My Archive

Resources

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close