Caglar's Oracle Blog

Caglar's Oracle Blog

About SQL, PL/SQL and Oracle APEX

  • About Me

Category: PL/SQL

How to use LONG column in the WHERE clause

Posted on 08/11/202411/11/2024 by Caglar

As developers, we often query the data dictionary for details about views, triggers, and other objects. Oracle stores large text data like object definitions in LONG columns, which […]

More Details
Posted in PL/SQL, SQLLeave a Comment on How to use LONG column in the WHERE clause

How to convert BLOB to CLOB

Posted on 16/11/202318/04/2024 by Caglar

Ever wondered how to turn pictures or other binary data back into readable text in Oracle PL/SQL? Let’s explore the easy steps of converting BLOB (Binary Large Object) […]

More Details
Posted in PL/SQLLeave a Comment on How to convert BLOB to CLOB

How to convert CLOB to BLOB

Posted on 16/11/202317/11/2023 by Caglar

Converting text data from CLOB to BLOB can be tricky. Let’s explore how to make that conversion. I used the function with UTF-8 character set. Additionally, if you […]

More Details
Posted in PL/SQLLeave a Comment on How to convert CLOB to BLOB

How to delete duplicate rows

Posted on 26/09/202305/10/2023 by Caglar

Basically, there are several ways to do this. In this post, I show two different ways. Let’s start with a basic example. Set Up Checking if the table […]

More Details
Posted in PL/SQL, SQLLeave a Comment on How to delete duplicate rows

How to use dynamic SQL with DBMS_SQL

Posted on 23/09/202305/10/2023 by Caglar

There may be situations where we need to run dynamic queries in our developments. We can utilize execute immediate statement or DBMS_SQL package in order to use dynamic […]

More Details
Posted in PL/SQL, SQL1 Comment on How to use dynamic SQL with DBMS_SQL

CUME_DIST function

Posted on 05/05/202305/06/2023 by Caglar

In this post, I would like to explain a function that is not well known. CUME_DIST analytic function is used for calculating the cumulative distribution of a data […]

More Details
Posted in PL/SQLLeave a Comment on CUME_DIST function

FOR UPDATE vs FOR UPDATE SKIP LOCKED

Posted on 31/01/202308/10/2024 by Caglar

In this post, I am going to explain how FOR UPDATE and FOR UPDATE SKIP LOCKED clauses work. I would like to demonstrate it with a basic example. […]

More Details
Posted in PL/SQL2 Comments on FOR UPDATE vs FOR UPDATE SKIP LOCKED

How to use MULTISET UNION DISTINCT on collections

Posted on 25/04/202227/04/2022 by Caglar

Let’s start with a basic example. Suppose, you have two PL/SQL collections with the same data type that you want to merge and remove the repetitive data. You […]

More Details
Posted in PL/SQL, SQLLeave a Comment on How to use MULTISET UNION DISTINCT on collections

How to use PL/SQL functions within SQL

Posted on 08/03/202222/03/2022 by Caglar

As it is known, invoking PL/SQL code from SQL cause context switching. SQL is a non-procedural language and it is very different from PL/SQL language. In addition, PL/SQL […]

More Details
Posted in PL/SQL, SQLLeave a Comment on How to use PL/SQL functions within SQL

How to make your PL/SQL code faster

Posted on 27/12/202108/06/2023 by Caglar

In this post, some important points of PL/SQL performance metrics has been explained. Oracle 19c has been used in all examples. Use Bind Variable Using bind variables can […]

More Details
Posted in PL/SQLLeave a Comment on How to make your PL/SQL code faster

Posts navigation

Older posts

Recent Posts

  • How to use LONG column in the WHERE clause
  • How to use XMLTABLE
  • How to implement wait spinner in APEX dynamic action
  • How to list all privileges of a user
  • How to create or alter a job

Recent Comments

  • Alexandre on How to implement wait spinner in APEX dynamic action
  • Maurits Groenenberg on How to view alert log file
  • Caglar on FOR UPDATE vs FOR UPDATE SKIP LOCKED
  • Anjali Damani on FOR UPDATE vs FOR UPDATE SKIP LOCKED
  • Caglar on How to implement wait spinner in APEX dynamic action

Categories

  • APEX
  • DBA
  • PL/SQL
  • SQL
  • Uncategorized
  • XQuery

Flag Counter

© Copyright 2025, Çağlar Polat