Skip to content
Advertisement

How can I evaluate the size for when it returns the value whatever I want?

I have this query in which I check with the NVL function if a field is null that it returns the other one and so on respectively, but I want to make sure that regardless of the data that it returns it is not greater than 10 and if it is, then that it cuts the string in that limit it does not matter what. But I get an “Invalid arguments” error and I don’t know how to do it …

Advertisement

Answer

The way you explained it, should be substr of NVL, not vice versa (as it is simpler) (apart from syntax error).

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