Skip to content

ORA-01861: the value does not match the format string

I have this External Table: I created this function to return the week number of the year If I only run the function it tells me that everything has been compiled. But when i run the SELECT it gives me the following error: [I enter the dates like this: ‘2020/01/01’ but sql-developer on the control…

Difference between Global temporary table (GTT) and collections

I wanted to know the difference between GTT and collections with scenarios where to use GTT and where to use collections. Answer Global Temporary Tables are permanent data structures. We can manipulate data in a GTT using SQL like any other table. What distinguishes them from regular heap tables is: Their dat…

Min & Max date before disruption

In Oracle, I have this table sample : +————+————+————+————+ | EMPLOYEENO | DATE_FROM | DATE_TO | REASON | +————+————+————+——&#8212…

Subquery sorted by another table

This is a follow-up question to Get the following record in query. But the task is a bit more complicated. I tried to modify the SQL query but I was not able to fulfill the task. If we have two tables,…