Forum Replies Created

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

  • RE: Using MAX in a SELECT Statement

    Hi Chris,

    I discovered that passing parameters to a VIEW wasn't possible, at least I don't think so.

    So, as you've suggested, I created a STORED PROCEDURE with accepts those date parameters,...

  • RE: Using MAX in a SELECT Statement

    Hi Chris,

    One last item...

    If I wanted to create a view for this statement whereby the initially declared variables (i.e. @MinOrderDate, etc.) could be changed when running it, what would that...

  • RE: Using MAX in a SELECT Statement

    Hi Chris,

    Thanks for this, it is an immense help!

    OrderDate is in fact a DATETIME column and therefore unlikely that there would be Orders rows with identical OrderDates for the same...

  • RE: Using MAX in a SELECT Statement

    @chris-2

    Thanks for speedy and thorough reply!

    This is exactly what I was looking for.

    I will study up on this to grow my SQL chops.

    It is possible that a Customer could have...

  • RE: Using MAX in a SELECT Statement

    I should have prefaced my original post with what I'm trying to accomplish as my SQL knowledgebase is pretty limited.

    Both solutions here work, but return different results, so I'll take...

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