Tag Archives: function

Understanding Volatility in PL/pgSQL Functions: A Real-World Lesson

The PL/pgSQL language in PostgreSQL allows developers to create complex database functions with prescribed volatility categories: IMMUTABLE, STABLE, and VOLATILE. Selecting the right volatility is crucial for maintaining performance and data consistency, especially during migrations from other databases. Careful consideration prevents unexpected results and enhances application reliability. Continue reading

Rate this:

Posted in postgresql | Tagged , , , , , , , , , | 2 Comments

Migration of Function with Out Params to Postgres from Oracle.

Function play a pivotal roles for building business logic in Postgres, till Postgres 11 all the business logic need to compiled into Function only, though with Procedure in Postgres has it own use-case. Today’s we will cover scenario of a … Continue reading

Rate this:

Posted in Oracle to, Oracle to PG migration | Tagged , , , | Leave a comment

Migrate Function in the WITH clause in Oracle to PostgreSQL.

With Oracle to PostgreSQL migration to tends to learn so many interesting facts about both RDBMS database. With Oracle we have enhancement related to SQL-PLSQL and as part of these blog series will like to publish how to achieve same … Continue reading

Rate this:

Posted in Oracle Internal, Oracle to, Oracle to PG migration | Tagged , , , , | Leave a comment

Streamline Your PostgreSQL Migration from Oracle with Automated Procedural Code Conversion Sanity Testing.

One of the key difference, we need to consider while migrating Oracle to PostgreSQL is compilation of Procedural code.Its behavior with regards to Exceptions during compile time varies between both the databases. PostgreSQL has its own behavior while creating Function … Continue reading

Rate this:

Posted in Helper SQL, Oracle to PG migration | Tagged , , , , , , , , , | Leave a comment

Date Generator in SQL Server using Recursive With Clause.

During one of performance analysis, identified lofty insert statements populating static tables with Date information. As part of one of functionality, we were generating dates and applying necessary function on it within date range specified. As part of performance improvement, … Continue reading

Rate this:

Posted in Helper SQL, SQL Server Learning | Tagged , , , | Leave a comment