Kyle Brown, Author of Persistence in the Enterprise and Enterprise Java Programming with IBM Websphere, 2nd Edition
See my homepage at http://www.kyle-brown.com/ for other WebSphere information.
Peter den Haan | peterdenhaan.com | quantum computing specialist, Objectivity Ltd
regards,<br />Dharmesh Chheda
I have seen things you people would not believe, attack ships on fire off the shoulder of Orion, c-beams sparkling in the dark near the Tennhauser Gate. All these moments will be lost in time, like tears in the rain.
regards,<br />Dharmesh Chheda
regards,<br />Dharmesh Chheda
Think it will, but I don't have an Oracle db on-site here to try it out (it's all off the top of my head, so caveats apply).Originally posted by anil bisht:
first of all for "rownum between n and m " query will not work. (correct me if i am wrong)
Spot on, I think - logically, the sorting is done after applying the WHERE clause. So you'd need to junk your order by and use indexes strategically to get the sort order right - not very nice and not always possible. Anyway, the ANSI SQL method should stil work.and second case the order by works only on the selected rows not on all.
Peter den Haan | peterdenhaan.com | quantum computing specialist, Objectivity Ltd
Peter den Haan | peterdenhaan.com | quantum computing specialist, Objectivity Ltd
Raising Flares debut album 'Ignition' out now
http://www.raisingflares.com
Terry Doyle <br />SCPJ 1.4 , SCWCD , SCMAD(Beta)
Peter den Haan | peterdenhaan.com | quantum computing specialist, Objectivity Ltd
Don't get me started about those stupid light bulbs. |