User Profile

Collapse

Profile Sidebar

Collapse
java7man
java7man
Last Activity: Oct 16 '06, 05:56 PM
Joined: Oct 10 '06
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • java7man
    started a topic UDF Error

    UDF Error

    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...
    See more | Go to post

  • java7man
    started a topic DB2 - Beyond case statements
    in DB2

    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
    ...
    See more | Go to post
No activity results to display
Show More
Working...