Bino

  • Home
  • Room
  • Workbench
  • Desk
  • Malayali
  • About
  • Search

# Pl-Sql

Useful PL/SQL queries

20 July 2025

In this post, I’m sharing some handy PL/SQL queries that help with monitoring and maintaining Oracle databases...
Read more

NOT IN vs NOT EXISTS in PL/SQL

19 June 2025

SELECT * FROM TABLE1 WHERE ID NOT IN ( SELECT ID FROM TABLE2 ) When I ran the above query I know the condition will give me the results, because the data exists in the TABLE1 which is not in TABLE2. But I didn’t go any results. I got surprised. After I a while I found out the issue.
Read more

To extract the value of a tag from an XML-like string in PL/SQL

12 January 2025

To extract the value of a tag from the given XML-like string in PL/SQL, you can use the EXTRACTVALUE function or XMLTABLE for XML processing.
Read more

Varchar datatype limits

30 November 2024

For NVARCHAR2 and VARCHAR2 maximum size is 4000 bytes, or 32767 bytes if the MAX_STRING_SIZE initialization parameter is set to EXTENDED. This is useful you have to allocate more data to a variable.
Read more

PL/SQL commands to view the table details

13 November 2024

In Oracle PL/SQL, you can use the following commands to view table details:
Read more

Use Flashback Query

11 November 2024

If your Oracle database has Flashback enabled, you can query past versions of data within a specified retention period. Here’s how to use Flashback to retrieve a prior state of data:
Read more

To generate random value in PL/SQL

30 October 2024

To update a column with a random value in PL/SQL, you can use the DBMS_RANDOM package, which provides functions for generating random numbers or strings.
Read more

PL/SQL MINUS Operator

23 October 2024

The PL/SQL MINUS operator returns all rows from the first query that are not present in the second query. Each SELECT statement defines a dataset, and the MINUS operator retrieves all records from the first dataset, excluding any that also appear in the second dataset.
Read more

Handling errors in LISTAGG

3 May 2024

The LISTAGG analytic function, introduced in Oracle 11g Release 2, greatly simplifies string aggregations within SQL queries.
Read more
    • ««
    • «
    • 1
    • 2
    • 3
    • 4
    • »
    • »»

Bino Kochumol Varghese  • © 2025

Powered by Hugo, Netlify, Lightbi & more.   Made with ✨ by Bino

  • Stats
  • Now
  • Uses
  • Library
  • Archive
  • Tags
  • Credits
  • Changelog
  • Disclaimer
  • Blogroll