Skip to content

Returning values from a database with a Substring

Let’s say I’ve got 3 product description fields with the values AC-120 XXX, AC-120,CCC and AC-120 BBB. How would I get that information from a table using only AC-120 as my search argument? I’ve tried using the subStr function but that won’t return any values either Answer LIKE is very…

Hierarchy data from Oracle from Multiple Tables

I’m trying to return calendar hierarchy from my table. Year -> Quarter – > Month Since, I don’t have Id & parent Id mapping in my table, I’m using ROW_NUMBER() concept to map relative data and …