in

 

Identify last row in result set of a query

Last post 06-26-2008 2:21 AM by boskom. 0 replies.
Page 1 of 1 (1 items)
Sort Posts: Previous Next
  • 06-26-2008 2:21 AM

    • boskom
    • Top 100 Contributor
    • Joined on 05-05-2008
    • Austria
    • Posts 7

    Identify last row in result set of a query

    Is it possible to identify last row in result set of a query within that query? I am working on a WBS graphical representation (like in Visio) and because of some formatting, I have to be able to know which row is the last one.

    Let's say that I want to create a simple list that should show all of my tasks , together with the mark if it is the last task or not, something like this:

    • Task 1 | No
    • Task 2 | No
    • Task 3 | No
    • Task 4 | No
    • Task 5 | No
    • Task 6 | Yes

    Thanks

Page 1 of 1 (1 items)

Navigate: Home | Blogs | Forums | Solution Library  Get Help:  Contact | Feedback | FAQ   Terms of Use:  Terms & Conditions | Privacy Policy