Limits to statement size in ISERIES

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts

  • Karl Hanson
    Guest replied
    Re: Limits to statement size in ISERIES

    --CELKO-- wrote:
    We just got a "SQL Statement too long or complex" error on the
    ISERIES. James was able to get a compile after replacing some full
    table names with (much shorter) correlation names, etc.
    >
    I have not see his query, but what are the statement size limits? I
    thought they would be so large that this should not happen in a
    practical situation.
    In v5r4:
    Maximum length of an SQL statement (in bytes) 2 097 152
    (from:)


    Prior to that:
    Longest SQL statement 65535
    (from:)


    --
    Karl Hanson

    Leave a comment:


  • Serge Rielau
    Guest replied
    Re: Limits to statement size in ISERIES

    --CELKO-- wrote:
    We just got a "SQL Statement too long or complex" error on the
    ISERIES. James was able to get a compile after replacing some full
    table names with (much shorter) correlation names, etc.
    >
    I have not see his query, but what are the statement size limits? I
    thought they would be so large that this should not happen in a
    practical situation.

    2MB for the past couple of releases.



    --
    Serge Rielau
    DB2 Solutions Development
    IBM Toronto Lab

    Leave a comment:


  • --CELKO--
    Guest started a topic Limits to statement size in ISERIES

    Limits to statement size in ISERIES

    We just got a "SQL Statement too long or complex" error on the
    ISERIES. James was able to get a compile after replacing some full
    table names with (much shorter) correlation names, etc.

    I have not see his query, but what are the statement size limits? I
    thought they would be so large that this should not happen in a
    practical situation.
Working...