> 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/create-database-schema.md).

# Create Database Schema

สร้าง Database Schema ที่มี Collation คือ utf8 และ Character Set คือ utf8\_general\_ci ภายใน Database Instance โดยแต่ละ Database Instance สามารถมี Database Schema ได้สูงสุด 20 Schamas

## Instructions

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

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

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

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

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

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

### 3. กำหนดชื่อของ Database Schema&#x20;

หลังกดปุ่ม “CREATE” ระบบจะแสดงหน้าต่างเพื่อให้กำหนดชื่อของ Database Schema หลังจากนั้นกดปุ่ม “CREATE” เพื่อทำการ Create Database Schema

<figure><img src="/files/LGkI3Ry935NkhlFjFPo4" alt=""><figcaption><p>กำหนดชื่อของ Database Schema</p></figcaption></figure>

### 4. Database Schema ถูกสร้างภายใน Database Instance และจะสามารถใช้งานได้ หลังจากทำคำสั่งสำเร็จ&#x20;

ระบบจะทำการ Create Database Schema หลังจากนั้นรายการ Database Schema จะแสดง Database Schema ที่ได้ทำการสร้าง แสดงว่าคำสั่งสำเร็จ

<figure><img src="/files/NoWsfzszK08m2sRY0qJW" alt=""><figcaption><p>Database Schema ได้ถูกสั่งสร้างสำเร็จ</p></figcaption></figure>
