forked from docs/doc-exports
Reviewed-by: Wagner, Fabian <fabian.wagner@t-systems.com> Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com> Co-authored-by: wangdengke2 <wangdengke2@huawei.com> Co-committed-by: wangdengke2 <wangdengke2@huawei.com>
3.8 KiB
3.8 KiB
Creating a Table
A data table consists of basic information, fields, and indexes. As the supplement to table information, indexes are optional and can be configured based on service requirements.
Procedure
- Log in to the OTC 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.
- On the displayed Objects page, select Tables. In the upper left corner of the page, click Create Table.
- On the displayed page, specify required parameters.
- 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, click Create.
- If you need to add indexes, 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