Help Center/
Data Admin Service/
User Guide (Kuala Lumpur Region)/
User Guide/
RDS for SQL Server/
Table Management/
Creating a Table
Updated on 2025-01-07 GMT+08:00
Creating a Table
A data table consists of basic information, columns, indexes, foreign keys, and CHECK constraints. The indexes, foreign keys, and CHECK constraints are optional and can be configured based on service requirements.
Procedure
- Log in to the DAS console.
- Click in the upper left corner and select a region and project.
- Click in the upper left corner, and under Databases, click Data Admin Service.
- In the navigation pane on the left, choose Development Tool.
- Locate the DB instance that you want to log in to and click Log In in the Operation column.
- On the top menu bar, choose Database Management.
- In the upper area of the page, click Change on the right of the current database to switch to the database where you want to create a table.
- On displayed page, click Create Table.
- On the displayed Basic Information page, enter a table name, specify the schema, table lock escalation, and enter comments.
- Click Next.
- On the Column page, click Add and set Column Name, Type, Nullable, Primary Key, and Extended Information as needed.
- If you do not need to add indexes, foreign keys, or CHECK constraints, click Create.
- If you need to add indexes, foreign keys, or CHECK constraints, click Next until all your desired parameters are specified. After the setting is complete, click Create.
- In the SQL Preview dialog box, click Execute.
Parent topic: Table Management
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
The system is busy. Please try again later.
For any further questions, feel free to contact us through the chatbot.
Chatbot