當前位置:妙知谷 >

遊戲數碼 >電腦 >

如何刪除sqlserver數據庫

如何刪除sqlserver數據庫

本文為大家介紹刪除sqlserver數據庫的方法及步驟。

操作方法

(01)先打開SQL Server Management Studio並連接數據庫服務器。

如何刪除sqlserver數據庫

(02)然後找到目標數據庫(需要刪除的),“右鍵”→“刪除”。

如何刪除sqlserver數據庫 第2張

(03)在彈出的的窗口中選擇要刪除的對象並設置相關屬性,然後點擊“確定”進行刪除即可。

如何刪除sqlserver數據庫 第3張

(04)還有一種方法是利用查詢分析器刪除數據庫,步驟為:點擊“新建查詢”→輸入“drop database dbname(dbname為數據庫名)”→“右鍵”→“執行”。

如何刪除sqlserver數據庫 第4張

(05)然後在下方“消息”窗口就可以看到執行結果了。

如何刪除sqlserver數據庫 第5張
標籤: SQLserver 數據庫
  • 文章版權屬於文章作者所有,轉載請註明 https://miaozhigu.com/sm/diannao/r83kvz.html