當前位置:妙知谷 >

遊戲數碼 >電腦 >

如何刪除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/zh-tw/sm/diannao/r83kvz.html