Skip to content
Advertisement

Rewrite NVL and select statement according to string

I have a column, called parametre, which contains our parameters:

So i want to get a output FA or DL, according to string PRIJEM_CISTY or PRIJEM_VRATKA:

It works. But is there any “better” solution for this ? For example, decode() or RegExp() ?

Advertisement

Answer

You can put the two together to query

User contributions licensed under: CC BY-SA
2 People found this is helpful
Advertisement