Articles in this section
Category / Section

How to access stored procedures and functions in PostgreSQL?

Published:

In this article, we will discuss how to access stored procedures and functions in PostgreSQL using Bold BI. Although PostgreSQL stored procedures or functions are not supported directly in Bold BI, you can use them via custom query mode.

Procedures

Procedures do not return any data. You can use the syntax CALL procedurename() to call the procedure. 

Here's an example of how to update the freight data in sample table using a procedure named 'updatesample'

  1. Create a PostgreSQL data source in Bold BI and switch to code mode.

  2. Provide the query and execute it.

 

 

1.png

 

2.png



Functions

You can use the syntax Select * from function() to get the function result.

  1. Create PostgreSQL data source in Bold BI and switch to code mode.

  2. Provide the function query and execute it.


4.png

Related Links:






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