Viewing 5 posts - 1 through 5 (of 5 total)
here's my query:
SELECT TOP 100 PERCENT ITEMNMBR, trxloctn, SUM(CASE WHEN datediff(month, docdate, getdate()) = 0 THEN TRXQTY ELSE 0 END) AS period1,
SUM(CASE WHEN datediff(month, docdate, getdate()) = 1...
July 12, 2007 at 3:00 pm
Oh I see, thanks for the reply Ninja, I just started working with views, so i'm new to this
June 21, 2007 at 8:12 am
Jeff, Actually the sort sentence was just to "debug" the view.
Thanks for your tip, but could you explain why is it such a bad idea?
June 21, 2007 at 7:06 am
Viewing 5 posts - 1 through 5 (of 5 total)