Help Center/
Data Admin Service/
User Guide (ME-Abu Dhabi Region)/
Getting Started/
Data Management/
Step 4: Manage Data
Updated on 2023-03-28 GMT+08:00
Step 4: Manage Data
Tables
- On the Objects tab page, choose Tables. Click Create Table. On the displayed page, enter a table name, select the storage engine, character set, and collation, enter the comment, and set advanced settings.
- Ensure the settings are correct and click Next. Then add table columns.
- Click Next and add virtual columns, indexes, and foreign keys.
- Click Create. In the SQL Preview dialog box, click Back if there is any incorrect configuration, and click Execute to create the table if all configurations are correct.
Views
- On the Objects tab page, choose Views. Click Create View. On the displayed page, enter a view name, select the security, check option, and algorithm, and set the definer and view definition statement.
- Click Create. On the Confirm View Definition Script page, click Back if there is any incorrect configuration, and click Execute to create the view if everything is correct.
Stored Procedures
- On the Objects tab page, choose Stored Procedures. Click Create Stored Procedure. On the displayed page, specify the name and description.
- Ensure the settings are correct and click OK. The SQL preview page is displayed.
- Click Option and configure the SQL security, determinacy, and data access.
- Ensure the settings are correct, and click OK and then Save. If you want to modify the SQL statement, click Cancel to go back to the SQL preview window.
- Click Execute to create a stored procedure.
Events
- On the Objects tab page, choose Events. Click Create Event. On the displayed page, enter an event name, specify the status and execution time, and enter the comment and event definition statements.
- Click Create. On the Confirm View Definition Script page, click Back if there is any incorrect configuration, and click Execute to create the event if everything is correct.
Triggers
- On the Objects tab page, choose Triggers. Click Create Trigger. On the displayed page, enter a trigger name, select the trigger table, trigger condition, and trigger event, and enter the trigger definition statement.
- Click Create. On the Confirm View Definition Script page, click Back if there is any incorrect configuration, and click Execute to create the trigger if everything is correct.
Functions
- On the Objects tab page, choose Functions. Click Create Function. On the displayed page, enter a function name and set the returned value type and description.
- Ensure the settings are correct and click OK. The SQL preview page is displayed.
- Click Option and configure the SQL security, determinacy, and data access.
- Ensure the settings are correct, and click OK and then Save. If you want to modify the SQL statements, click Cancel to go back to the SQL preview window. Then click Execute to create the function.
Parent topic: Data 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