Oracle Blog

Oracle Blog

Oracle SQL, PL/SQL and APEX

  • About Me

Category: SQL

How to generate, parse and use JSON data

Posted on 11/04/202129/06/2023 by admin

In this article, I will explain how easily you can generate, parse and use JSON data in the Oracle database. I used Oracle 19c for all examples in […]

More Details
Posted in SQL3 Comments on How to generate, parse and use JSON data

Useful Oracle Functions

Posted on 19/03/202131/03/2023 by admin

How to find the difference between two dates If you want to find the difference between two dates according to different time types, you can use the EXTRACT […]

More Details
Posted in SQLLeave a Comment on Useful Oracle Functions

ORA-30926 unable to get a stable set of rows in the source tables

Posted on 23/11/202029/12/2021 by admin

In this post, I am going to talk about ORA-30926 error and how to solve it. Let’s create the following tables for our example. This error occurs due […]

More Details
Posted in SQLLeave a Comment on ORA-30926 unable to get a stable set of rows in the source tables

How to split comma separated string into rows

Posted on 26/05/202027/06/2023 by admin

In rare cases we might need to convert string data into rows. So, you can simply do this using the code below. If your string is not comma […]

More Details
Posted in SQLLeave a Comment on How to split comma separated string into rows

Adaptive Cursor Sharing & Histograms

Posted on 24/05/202025/05/2020 by admin

Adaptive cursor sharing has been used in Oracle 11g first. This feature enables a single statement that contains bind variables to use multiple execution plans. According to the […]

More Details
Posted in DBA, SQL1 Comment on Adaptive Cursor Sharing & Histograms

Analytic functions & Windowing clause

Posted on 09/05/202012/06/2023 by admin

Analytic functions have been used from the early versions of Oracle. It is used in many tasks, especially reporting. In this article, I am going to use EMP […]

More Details
Posted in SQLLeave a Comment on Analytic functions & Windowing clause

SUBSTR vs DBMS_LOB.SUBSTR

Posted on 04/02/202025/05/2020 by admin

We have to choose the right built-in function when developing pl/sql applications. The following test case shows the performance outcome between SUBSTR and DBMS_LOB.SUBSTR functions. This test was […]

More Details
Posted in PL/SQL, SQLLeave a Comment on SUBSTR vs DBMS_LOB.SUBSTR

Pivot and Unpivot Operators in Oracle 11g

Posted on 27/12/201930/12/2019 by admin

PIVOT In this article you will learn how to use PIVOT and UNPIVOT operators. Basically, pivot operator allow you to transpose rows into columns. Prior to 11g, it […]

More Details
Posted in SQLLeave a Comment on Pivot and Unpivot Operators in Oracle 11g

ORA-22859 invalid modification of columns

Posted on 25/12/201925/12/2019 by admin

When you try to convert datatype CLOB to VARCHAR2, you get the ORA-22859 invalid modification of columns error even if the column is empty. In order to overcome […]

More Details
Posted in SQLLeave a Comment on ORA-22859 invalid modification of columns

Parallel Enabled Pipelined Table Functions

Posted on 24/12/201908/04/2021 by admin

In the previous article, I mentioned about pipelined table functions. In this article, I am going to talk about parallel feature of pipelined table functions. At least one […]

More Details
Posted in PL/SQL, SQLLeave a Comment on Parallel Enabled Pipelined Table Functions

Posts navigation

Older posts
Newer posts

Recent Posts

  • How to use dynamic SQL with DBMS_SQL
  • ORA-01704 string literal too long
  • How to fix cardinality misestimate?
  • CUME_DIST function
  • FOR UPDATE vs FOR UPDATE SKIP LOCKED

Recent Comments

  • admin on How to generate, parse and use JSON data
  • Johann on How to generate, parse and use JSON data
  • admin on How to reorder columns of table
  • Yogendra on How to reorder columns of table
  • ENOCK OLOO on Data encryption and decryption using PL/SQL

Categories

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

Flag Counter

© Copyright 2023, Çağlar Polat