Advertisement
Advertisement
| 04.29.2008 at 12:05PM PDT, ID: 23363209 |
|
[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: |
Query #1:
SELECT TOP 100 PERCENT DateFull
FROM dbo.tsi_view_DateLookup
WHERE (DateFull BETWEEN CONVERT(DATETIME, '2007-01-01 00:00:00', 102) AND CONVERT(DATETIME, '2008-12-31 00:00:00', 102)) AND
(NOT (WeekDayName LIKE 'S%'))
ORDER BY DateFull
Query #2:
SELECT DISTINCT
TOP 100 PERCENT item_id, CAST(CONVERT(varchar(10), trans_date, 101) AS datetime) AS [Date], quantity + on_hand_before_trans AS QtyOnHand
FROM dbo.p21_view_inv_tran
WHERE (trans_date IN
(SELECT MAX(trans_date)
FROM dbo.p21_view_inv_tran
GROUP BY item_id, CAST(CONVERT(varchar(10), trans_date, 101) AS datetime)))
ORDER BY item_id, CAST(CONVERT(varchar(10), trans_date, 101) AS datetime)
|