Advertisement
Advertisement
| 08.12.2008 at 12:40PM PDT, ID: 23642496 |
|
[x]
Attachment Details
|
||
|
[x]
The Solution Rating System
|
||
With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.
Your Input Matters If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support. Thank you! |
||
1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: 16: 17: 18: 19: 20: 21: 22: 23: 24: 25: 26: 27: 28: 29: 30: 31: 32: 33: 34: 35: |
SQL 1
select main.DGVLSTPRF, main.DGVDRMSCA, main.DGVDRRNBR, main.DGVSPOCTY, main.DGVSPOSTE, main.DGVSPDCTY, main.DGVSPDSTE,
min(main.DGVHSTDTM)
from prodlib.DRADGVHP main, prodlib.DRADGVHP mindtm
where main.DGVTOTAMT <> 0
and main.DGVDRRNBR in (14266989, 14266990)
and main.DGVDRRNBR = mindtm.DGVDRRNBR
group by main.DGVLSTPRF, main.DGVDRMSCA, main.DGVDRRNBR, main.DGVSPOCTY, main.DGVSPOSTE, main.DGVSPDCTY, main.DGVSPDSTE
order by main.DGVDRRNBR, main.DGVHSTDTM
RESULT1
DGVLSTPRF DGVDRMSCA DGVDRRNBR DGVSPOCTY DGVSPOSTE DGVSPDCTY DGVSPDSTE 00008
---------- --------- ----------- -------------------- --------- -------------------- --------- --------------------------
ILSALGADE MNDY 14266989 PARIS TX HASLET TX 2008-07-15 11:37:04.651000
ILBERENYD MNDY 14266989 PARIS TX HASLET TX 2008-07-15 11:46:47.901000
ILRADLOFA COTM 14266990 PATASKALA OH FRANKLIN PARK IL 2008-07-15 11:38:08.091000
ILBERENYD COTM 14266990 PATASKALA OH FRANKLIN PARK IL 2008-07-15 13:02:43.635000
4 Row(s) affected
SQL2
select mindtm.DGVDRRNBR, min(mindtm.DGVHSTDTM)
from prodlib.DRADGVHP mindtm
where mindtm.DGVTOTAMT <> 0
and mindtm.DGVDRRNBR in (14266989, 14266990)
group by mindtm.DGVDRRNBR
RESULT2
DGVDRRNBR 00002
----------- --------------------------
14266989 2008-07-15 11:37:04.651000
14266990 2008-07-15 11:38:08.091000
2 Row(s) affected
|