Skip to content

Tag: oracle

Swapping one column to another

There are n number of parent tasks and each task has their actual start time and actual end time, now there are child task as well, for one parent task which ends with ‘createprovision’ i want to replace the end time with the start time of the child task which starts with ‘Preparations&#8217…

How to break sequence

i have a table named sequence with a single column val and table looks like val —– 1 2 3 5 8 9 10 i need to identify the range of numbers if there is a break in sequence and output like …

Difference between NVL and OR in SQL oracle

Hej guys, could someone explain to me difference between NVL() and OR in below query : Number of rows: 44937 and Number of rows: 44782 Why we have this difference: 155 rows? i built a few query based on nvl and notice that issue and going to switch to OR, but I really want to know, why it such a