Forum Replies Created

Viewing 5 posts - 1 through 5 (of 5 total)

  • RE: Adding columns

    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...

  • RE: View sentence error

    Thanks Jeff for that reply, it's really helpful

  • RE: View sentence error

    Oh I see, thanks for the reply Ninja, I just started working with views, so i'm new to this

  • RE: View sentence error

    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?

  • RE: View sentence error

    Thanks ninja, it did work

Viewing 5 posts - 1 through 5 (of 5 total)