Stored procedure
Stored procedures can be registered and called from SQL functions in actions.
Create
- Select
"Databases"
from the side menu and click on"Database Name"
>"Stored Procedures"
>"Create Stored Procedure"
. - The editor appears in the right panel.
- After describing the contents of the stored procedure, click the
"Apply"
button. - When registration is complete, the stored procedures you created will appear in Stored Procedures.
Example:
Update
- Select the stored procedure you wish to update by going to
Databases
>Stored Procedures
>Stored Procedures
. - The contents of the stored procedure are displayed in the editor in the right panel.
- Modify the description of the stored procedure.
- Click the
"Apply"
button.
Delete
- Select
Database
>Stored Procedures
>Stored Procedure Name
. - Select
"Delete"
from the context menu. - Click the
"OK"
button in the “Confirm” dialog.
Calling
Registered stored procedures can be called from user function SQL Function with a CALL statement.
Calling sample: