Backup and restore your Microsoft SQL Server database

แชร์
ฝัง
  • เผยแพร่เมื่อ 15 ก.ย. 2024
  • If you are someone who works with Microsoft SQL Server a lot, knowing how to backup and restore your SQL Server database is a must required skill. In this tutorial, I will be teaching you two methods (using SQL Server Management Studio and T-SQL script) to backup and restore SQL Server database.
    T-SQL scripts used in this video:
    learndataanaly...
    Buy Me a Coffee? Your support is much appreciated
    Paypal Me: www.paypal.me/...
    Venmo: @Jie-Jenn
    More tutorial videos on my website
    LearnDataAnaly...
    Check out my gears here on Amazon:
    www.amazon.com...

ความคิดเห็น • 10

  • @gykg3202
    @gykg3202 11 หลายเดือนก่อน

    Thank you very much! Very helpful!

  • @caesarsungdong6722
    @caesarsungdong6722 9 หลายเดือนก่อน

    You are the best. Thank you

  • @ahmedh2482
    @ahmedh2482 ปีที่แล้ว

    Awesome,
    Thanks

  • @afdinh0
    @afdinh0 ปีที่แล้ว

    good video, thank you!!!!

  • @nayzawmoe
    @nayzawmoe 7 หลายเดือนก่อน

    Is there a way to put current date in the backup file name with T-SQL script and run the script with Task Scheduler?

    • @jiejenn
      @jiejenn  7 หลายเดือนก่อน

      Pretty sure you can. I remember in SQL server it was done via agent.

  • @bhagyashri6657
    @bhagyashri6657 ปีที่แล้ว

    I am not able to get the backup of DB(through T-SQL script) , Error -'Statement 'BACKUP DATABASE' is not supported in this version of SQL Server. Can you please mention which version of SSMS are you using? (I am using SSMS 19.0.1) . Also backup and restore option is not there in this version.

    • @jiejenn
      @jiejenn  ปีที่แล้ว

      You will have to figure out from the official documentation website.

  • @calvinkoay1939
    @calvinkoay1939 2 ปีที่แล้ว

    Hi, when dropping database, I always get error like 'Cannot drop database because it is currently in use. What's the problem?

    • @jiejenn
      @jiejenn  2 ปีที่แล้ว +3

      Probably because you (or one of the scripts) are currently connecting to the databas you are trying to drop. Select a different database, then try drop the database again.