Oracle Blog

Oracle Blog

Oracle SQL, PL/SQL and APEX

  • About Me

SQL Plan Baselines

Posted on 23/05/202127/05/2021 by admin

SQL plan baseline is one of the most used tuning technique in Oracle database. Basically, with SQL plan baseline, you can change the execution plan of a sql […]

More Details
Posted in DBALeave a Comment on SQL Plan Baselines

How to find the SQL_ID of your SQL statement

Posted on 13/05/202113/05/2021 by admin

There are different ways to find the SQL_ID of an SQL statement. First of all, if you have the select privilege, you can use the dynamic performance views […]

More Details
Posted in DBALeave a Comment on How to find the SQL_ID of your SQL statement

The easiest way to use Java in Oracle

Posted on 03/05/202108/05/2021 by admin

There are several methods to use Java in Oracle. I am going to show the easiest way. Basically, the Java interpreter starts running the application by calling main() […]

More Details
Posted in PL/SQL4 Comments on The easiest way to use Java in Oracle

How to run external scripts from DBMS_SCHEDULER

Posted on 18/04/202117/04/2022 by admin

In this post, I am going to explain how to run operating system level script files with using DBMS_SCHEDULER. All tests have been done in Oracle 19c. Generally, […]

More Details
Posted in DBALeave a Comment on How to run external scripts from DBMS_SCHEDULER

How to generate, parse and use JSON data

Posted on 11/04/202126/10/2021 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 SQLLeave a Comment on How to generate, parse and use JSON data

How to flush a cursor from the shared pool

Posted on 03/04/202104/04/2021 by admin

If you want to remove any cursor in the shared pool. You can do it easily via sys.DBMS_SHARED_POOL .PURGE procedure. 1. Get the address and hash_value of the […]

More Details
Posted in DBALeave a Comment on How to flush a cursor from the shared pool

How to view alert log file

Posted on 28/03/202103/02/2022 by admin

First of all, in order to find your log files location in the operating system where the database is located, you can query to V$DIAG_INFO view. It contains […]

More Details
Posted in DBALeave a Comment on How to view alert log file

Useful Oracle Functions

Posted on 19/03/202129/12/2021 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

How to unregister materialized view from source DB

Posted on 14/03/202114/03/2021 by admin

If a remote MV is no longer available or if you move to a new server because of data migration, version upgrade etc. and somehow don’t need the […]

More Details
Posted in DBALeave a Comment on How to unregister materialized view from source DB

How to get the contents of unknown SYS REFCURSOR

Posted on 08/02/202108/02/2021 by admin

You can use the following procedure in order to get the unknown number of columns and column types.

More Details
Posted in PL/SQLLeave a Comment on How to get the contents of unknown SYS REFCURSOR

Posts navigation

Older posts
Newer posts

Recent Posts

  • How to use MULTISET UNION DISTINCT on collections
  • How to use PL/SQL functions within SQL
  • The power of MATCH_RECOGNIZE
  • LISTAGG Enhancements
  • WITH clause and Depth First Search

Recent Comments

  • Anonymous on How to reorder columns of table
  • Anonymous on Print clob data with htp.prn
  • How to make your PL/SQL code faster - Oracle Blog on Adaptive Cursor Sharing & Histograms
  • cm on Print clob data with htp.prn
  • Jon Adams on 5 Life Saving Features of Oracle

Archives

  • April 2022
  • March 2022
  • February 2022
  • January 2022
  • December 2021
  • November 2021
  • June 2021
  • May 2021
  • April 2021
  • March 2021
  • February 2021
  • January 2021
  • December 2020
  • November 2020
  • May 2020
  • February 2020
  • January 2020
  • December 2019
  • May 2019
  • March 2019
  • January 2019
  • December 2018
  • November 2018

Categories

  • APEX
  • DBA
  • PL/SQL
  • SQL
  • Uncategorized
  • XQuery
© Copyright 2022, Çağlar Polat