----- Original Message ----- From: "Joe Pluta" <joepluta@PlutaBrothers.com> To: <firstname.lastname@example.org> Sent: Tuesday, January 29, 2002 4:48 PM Subject: RE: Can you do this in SQL > Even if you COULD make this statement work, why would you want to? The idea > of adding the max(rank) subselect is just bad from every possible aspect. > It's not particularly readable, and even if it is, it's additional overhead but you consider RPG readable? <VBG> I would expect that that statement is readable by almost any DBA on the planet and they would be able to tell you what it should do, even though it doesn't work. But they would be guessing at the functionality of the RPG program and the OPNQRYF, unless they are specifically 400/iSeries programmers. But hey, maybe I'm wrong... =========================================================== R. Bruce Hoffman, Jr. -- IBM Certified Specialist - iSeries Administrator -- IBM Certified Specialist - RPG IV Developer "Suppose you were an idiot... And suppose you were a member of Congress... But I repeat myself." - Mark Twain
As an Amazon Associate we earn from qualifying purchases.
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.