Overview
After you log in to OceanBase Developer Center (ODC), you can click the name of a connection on the homepage to go to the corresponding connection management page. In the left-side navigation pane, you can click
In the stored procedure list, you can view the
Structure tree
You can click the expand icon
before the name of the target stored procedure in the stored procedure list, and the structure tree of the stored procedure is displayed in a drop-down list, as shown in the following figure.
The structure tree of a stored procedure can have up to three levels. When you right-click an item in the tree, the shortcut menu displays some actions that you can perform on the item. For more information about these actions, see the

Management actions
The names of stored procedure objects support ascending order by the head character by default in the stored procedure list.
Shortcut function
The following functions are provided in the upper right corner of the tree:
| Action | Description |
|---|---|
| Create | Click this option to create stored procedure. |
| Filter | Click this option to display valid/invalid stored procedures. |
| Batch Compile | Click this option to batch compile the stored procedure object. Including: compile all objects and compile invalid objects. ![]() |
| Refresh | Click this option to refresh the structure tree after you perform management actions on the stored procedure, so that the structure tree displays the latest information. |
Right-click function
Right-click the target object in the structure tree. A shortcut menu appears, displaying some management options provided by ODC for you to conveniently manage the target object. The following table describes the management options.
| Action | Description |
|---|---|
| View | Click this option to go to the Stored procedure management page, where you can view comprehensive information such as the basic information, parameters, and code of the stored procedure. |
| Create | Click this option to go to the Create Stored Procedure page, where you can create a stored procedure as prompted. |
| Edit | Click this option to go to the Stored procedure editing page, which displays the statements that define the stored procedure and where you can edit the stored procedure. |
| Compile | Click this option to compile the stored procedure. |
| Debug | Click this option to go to the debugging page, where you can debug the stored procedure.
Note
|
| Run | Click this option to execute the stored procedure. |
| Export | Export single table, see Export schemas and data. |
| Download | Download the SQL file for the stored procedure object. |
| Delete | Click this option to delete the stored procedure. |
| Refresh | Click this option to refresh the structure tree after you perform management actions on the stored procedure so that the structure tree displays the latest information.
Note
|
Stored procedure management page

You can double-click the name of a stored procedure in the function list to go to the stored procedure management page. The stored procedure management page displays the following information:
| Section | Description |
|---|---|
| Basic Information | This section displays the basic information about the stored procedure in fields such as
|
| Parameter | This section displays the information about the parameters in fields such as
|
| DDL | This section displays the script that defines the stored procedure and provides the
NoteClick the Edit icon to go to the PL object editing page. |
Stored procedure editing page
Right-click the target item in the stored procedure list. In the menu that appears, click
| Button | Description |
|---|---|
| Confirm modification | Click this button to apply the current modification. |
| Compile | Click this button to compile the statements on the current page.
Note
|
| Run | Click this button |
| Debug | Click this button |
| Format | Click this button to apply formatting, such as indentation, line break, and keyword highlighting, to the selected SQL statements or all the SQL statements in the current SQL window. |
| Find and Replace | You can enter text in the search field to find the specific content and enter text in the replacement field to replace the content found. |
| Undo | Click this button to undo the last operation. |
| Redo | Click this button to reverse an
|
| Case Sensitivity | The system supports three capitalization options:
|
| Indent | You can add indents to or delete indents from the statements that you selected. |
| Comments | You can click Add Comments to convert the statements that you selected into comments or click
|
| IN Value Conversion | Click this button to convert the copied rows or columns into the specified format during queries. After you paste the copied data to the SQL editing area, select the copied data and click
|
Stored procedure output page

After the stored procedure is executed, you can view the information of execution results in the
| Tab | Description |
|---|---|
| Output | Displays the status, parameters, parameter types, parameter values, return type, and return value of the stored procedure. |
| DBMS Output | Displays DBMS outputs of the stored procedure. |
