| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | DB2 |
Thanks for your reply Peter,
BTW I wonder if it is a coincidence that the 3 best programmers in the
New World are named Peter?
PF> Since you can never assume anything about the sequence of an SQL
result PF> set....
Why is that? I since I am including the clause :
order by process_date desc
Why may I not assume that they are in descending sequence? Or do you mean
one can not determine anything about the RIDS given the sequence of the
results set? I assume you mean the latter, and you are quite right. (Well
using RIDS was just a guess. :-) But this really does not seem to be
solvable other than using a cursor loop, or adding an update statement.
I.e. Mr. Noon is most liklely correct in stateing this cannot be done in a
single statement since SQL is a relational, not relativistic system.
Thanks very much for your help now and as in the past!
Sincerely
Peter
--- Maximus/2 2.02
* Origin: OS/2 Shareware BBS, telnet://bbs.os2bbs.com (1:109/347)SEEN-BY: 50/99 270/101 620/243 625/100 711/401 409 410 413 430 808 809 934 SEEN-BY: 711/955 712/407 515 624 628 713/888 800/1 @PATH: 109/347 18 13/25 396/1 270/101 712/515 711/808 934 |
|
| SOURCE: echomail via fidonet.ozzmosis.com | |
Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.