> For the complete documentation index, see [llms.txt](https://docs-epc.gitbook.io/ncs-documents/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs-epc.gitbook.io/ncs-documents/database-as-a-service/sql-database/manage-sql-database-schema/delete-database-schema.md).

# Delete Database Schema

ลบ Database Schema ที่ไม่ได้ใช้งาน ออกจาก Database Instance และจะไม่สามารถกู้คืนกลับมาใช้งานได้

## Instructions

### 1. เข้าสู่หน้า Database Instances&#x20;

เลือกรายการ “Database Instances” ที่ Sidebar จากเมนู SQL Database

<figure><img src="/files/iqPW8wQT3OYCozhYN0Dq" alt=""><figcaption><p>เข้าสู่หน้า Database Instances</p></figcaption></figure>

### 2. เลือกคำสั่ง Delete Database Schema&#x20;

เข้าไปที่หน้า Database Instance Detail ของ Database Instance เลือกคำสั่ง Delete Database Schema ได้จากปุ่ม Delete ภายใต้ปุ่ม “MORE” ของ Database Schema ที่ต้องการทำคำสั่ง

<figure><img src="/files/ohFbfL5CmmzunNLIL0oa" alt=""><figcaption><p>เลือกคำสั่ง Delete Database Schema</p></figcaption></figure>

### 3. ทำการยืนยันคำสั่ง Delete Database Schema

หลังกดปุ่ม Delete ระบบจะแสดงหน้าต่างเพื่อให้ยืนยันคำสั่ง หลังจากนั้นกดปุ่ม “DELETE” เพื่อเริ่มการ Delete Database Schema

<figure><img src="/files/ltpCEZNYHyo5rUsaq1I8" alt=""><figcaption><p>ยืนยันคำสั่ง Delete Database Schema</p></figcaption></figure>

### 4. Database Schema ที่ถูกสั่งลบจะหายไป หลังจากทำคำสั่งสำเร็จ&#x20;

ระบบจะทำการ Delete Database Schema ให้รอจนกว่า Database Schema จะหายไปจากรายการ Database Schema แสดงว่าคำสั่งได้ทำสำเร็จ

<figure><img src="/files/8MQLojNhuZV976fmNcNk" alt=""><figcaption><p>Database Schema ถูกลบสำเร็จ</p></figcaption></figure>
