Overview of Other Syntax
In addition to DCL, DDL, and DML syntax, M-compatible also provides syntax for other functions.
Showing an Execution Plan of an SQL Statement
M compatibility provides statements for showing an execution plan of an SQL statement. For details, see EXPLAIN.
Collecting Table Content Statistics
M compatibility provides statements for collecting statistics about the table content in the database. For details, see ANALYZE.
Clearing the Storage Space
M compatibility provides statements for recycling storage space occupied by deleted rows in a table or B-Tree index. For details, see VACUUM.
Creating a Prepared Statement
M compatibility provides statements for creating a prepared statement. For details, see PREPARE.
Prepared Statements
|
Function |
SQL Statement |
|---|---|
|
Executing a prepared statement |
|
|
Deallocating a prepared statement |
SQL Statements Related to Transactions
|
Function |
SQL Statement |
|---|---|
|
Rolling back the current transaction and canceling the changes in the transaction |
|
|
Starting a transaction |
|
|
Preparing the current transaction for two-phase commit |
|
|
Committing the current transaction |
|
|
Committing a prepared two-phase transaction |
|
|
Deleting a savepoint previously defined for the current transaction |
|
|
Rolling back to a savepoint |
|
|
Canceling a transaction ready for two-phase commit |
|
|
Creating a savepoint in the current transaction |
|
|
Setting a checkpoint |
Modifying, Displaying, and Restoring a GUC Parameter
Setting a User Identifier
|
Function |
SQL Statement |
|---|---|
|
Setting the current user identifier of the current session |
|
|
Setting the session user identifier and the current user identifier of the current session to a specified user |
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