SQL Server DBA Tutorial 31- How to Attach and Detach Databases

preview_player
Показать описание
In this video you will learn how to attach and detach databases using SQL Server Management Studio as well as using T-SQL script. After watching this video, you will also learn real time scenarios where it would be a good practice to attach and detach databases.

Blog link for script

Visit our website to check out SQL Server DBA Tutorial Step by Step
Рекомендации по теме
Комментарии
Автор

Finally the T-SQL Script save my life, thank you

hamzah
Автор

thanks for your video. Would you explain the purpose for updating the statistics? Why I need to do that?

gohan
Автор

Okay so question. Why do you have to drop connections? You explained that if a vendor wants to give you a database file, they can give you these. It looks like you are basically deleting the database from your records. Why would the vendor want to delete their own copy of it?

jsx
Автор

In Tsql to detach, the location was not mentioned. Did it took the default location. And can we change it?

nohandle
Автор

after attaching back why it's showing database name is salesorder-test bt logical name is the same as before..

tushibhaque
Автор

Brother i am Cambodian I would like database mart. Can you give me some example to Design database. I am freshman Help me too

visasoueng