Articles in this section
Category / Section

Working with Stored Procedures in Postgres Data Source

Published:

When working with Postgres data source, it’s important to understand how to make stored procedures appear and how to call them.

Procedures

Procedures in Postgres do not return any data. To call a procedure, you can use the following syntax: CALL procedurename().

For example, if you want to update the freight data for a name ‘Test’, you would use the following steps:

1.png

2.png

3.png

Functions

Functions in Postgres can return data. To get the result of a function, you can use the following syntax: Select * from function().

For example, to get the result of a function, you would use the following step:

4.png

In short, understanding how to work with stored procedures and functions in Postgres data source can greatly enhance your data management capabilities.

Was this article useful?
Like
Dislike
Help us improve this page
Please provide feedback or comments
RM
Written by Reethika Moovendhan
Updated
Comments (0)
Please  to leave a comment
Access denied
Access denied