Skip to content

Tag: oracle

Force timeout SQL Oracle on users response

I have a PL/SQL procedure which has a couple prompts which require the user to enter some information for processing. For example, item numbers, business units & so on. This as well prompts confirmation at the end of the script. This allows several users to rely on the same script to massively setup data …

Oracle SQL UNION alternative

I’m using ORACLE SQL (11g), lets assume we have a table named TRANSMISSIONS which has field that holds file sizes I want to perform various aggregate functions on various partitions let’s say for different file sizes. However I want the partitions to be cumulative. So a 10 KB file will be both in …

How to use case statement and min() with group by?

The following query when I that execute It seems error ORA-00934: group function is not allowed here I guess , there is error min() in group by. How can I solve this problem? Answer You have to use analytical MIN() function like the below without group by