All -
in writing some UDFs I am getting this error
SQL0101N The statement is too long or too complex.
What I am doing is not that complex. Basically, performing 5 0r 6 queries insude the UDF and setting them to a variable.
Then parsing those variables using while loops and if statement to find a valid pay day within a pay month.
It compiles file and loads...
User Profile
Collapse
-
DB2 - Beyond case statements
All - below is part of a construct I am using. I have some very complex data and processing to perfrom and I need a way to get beyond case limitations.
Anyone know of other more robust constructs available in SQL - DB2.
The book says only 3 levels of nested case statements are allowed - that is true.
Any assistance would be appreciated.
select
field1
, field2
,case
...
No activity results to display
Show More