SQL SERVER – Learn SQL Server 2014 Online in a Day – My Latest Pluralsight Course
SQL Authority News – Play by Play with Pinal Dave – A Birthday Gift
SQL SERVER – Finding Object Dependencies in SSMS – SQL in Sixty Seconds #071
SQL SERVER – Difference Between SQL Login and SQL User – SQL in Sixty Seconds #070
“What is the difference between SQL Login and SQL User in SQL Server?”
SQL SERVER – Change Fill Factor – SQL in Sixty Seconds #069
SQL SERVER – Attach or Detach Database – SQL in Sixty Seconds #068
When we have to move a database from one server to another server or when we have to move a database from one file to another file, we commonly use Database Attach or Detach process. I have been doing this for quite a while as well. Recently, when I was visiting an organization I found that in this organization lots of developers are still using an older version of the code to attach the database. I quickly pointed that out to them the new method to attach the database, however it was really interesting to find out that they really did not know that sp_attach_db is now a deprecated method to attach the database. This really made me to do today’s SQL in Sixty Seconds. I demonstrate in this SQL in Sixty Seconds how to attach or detach the database using a new method of attaching database. Let us learn about Attach or Detach Database.