Oracle Blog

Oracle Blog

Oracle SQL, PL/SQL and APEX

  • About Me

How to get OS environment variables in PL/SQL

Posted on 01/11/202101/11/2021 by admin

If you need to find out the value of any OS environment variable, such as ORACLE_HOME, without connecting your remote server. You can use DBMS_SYSTEM.GET_ENV procedure as shown […]

More Details
Posted in DBA, PL/SQLLeave a Comment on How to get OS environment variables in PL/SQL

5 Life Saving Features of Oracle

Posted on 16/06/202117/01/2023 by admin

1) Partitioned Outer Join I would like to start with PARTITIONED OUTER JOIN. Because it is one of the least used feature. Suppose that you have two basic […]

More Details
Posted in DBA, SQL1 Comment on 5 Life Saving Features of Oracle

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 SQL1 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

Posts navigation

Older posts
Newer posts

Recent Posts

  • FOR UPDATE vs FOR UPDATE SKIP LOCKED
  • NVL vs COALESCE
  • How to use MULTISET UNION DISTINCT on collections
  • How to use PL/SQL functions within SQL
  • The power of MATCH_RECOGNIZE

Recent Comments

  • ENOCK OLOO on Data encryption and decryption using PL/SQL
  • Soeren Dalby on How to generate, parse and use JSON data
  • Nicolas on Print clob data with htp.prn
  • Anonymous on Unlock Apex admin account
  • Anonymous on How to reorder columns of table

Archives

  • January 2023
  • October 2022
  • 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 2023, Çağlar Polat