Results 1 to 2 of 2

Thread: Loops in loops

  1. #1
    Join Date
    Feb 2004
    Location
    Copenhagen
    Posts
    220

    Red face Unanswered: Loops in loops

    Hi all - AIX 5.2 DB2 8.1.4

    One of my developers insists that db2 pl/sql
    will not accept a loop within a loop.

    Does anyone know if this is true -
    or are we simply doing it wrong ?

    BOW
    Kristian K. Hansen
    Project Supervisor
    National Board of Health

  2. #2
    Join Date
    Aug 2001
    Location
    UK
    Posts
    4,650
    Loops within loops is allowed ...

    LOOP : LOOP1
    stmt1
    LOOP : LOOP2
    stmt2
    stmt3
    END LOOP LOOP2
    stmt n
    END LOOP LOOP1
    Visit the new-look IDUG Website , register to gain access to the excellent content.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •