DML Syntax Overview
Data manipulation language (DML) is used to perform operations on data in database tables, such as inserting, updating, querying, or deleting data.
Inserting Data
Inserting data refers to adding one or multiple records to a database table. For details, see INSERT.
Updating Data
Updating data refers to modifying one or multiple records in a database table. For details, see UPDATE.
Querying Data
The database query statement SELECT is used to search required information in a database. For details, see SELECT.
Deleting Data
M compatibility provides statements for deleting data that meets specified conditions from a table. For details, see DELETE.
Copying Data
M compatibility provides a statement for copying data between tables and files. For details, see COPY.
Locking
M compatibility provides multiple lock modes to control concurrent accesses to table data. For details, see LOCK.
Session Management
A session is a connection established between the user and the database. For details about how to modify a session, see ALTER SESSION.
Executing an Anonymous Code Block
M compatibility provides statements for executing an anonymous code block. For details, see DO.
Inserting or Replacing Data
M compatibility provides statements for inserting or replacing data in a table. For details, see REPLACE.
Importing Data
GaussDB provides a statement for importing data from a file to a specified table in the database. For details, see LOAD DATA.
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.
For any further questions, feel free to contact us through the chatbot.
Chatbot