i need it to perform like a "sequence" in Oracle at least conceptually. I am wanting some function that increments each row by 1 (almost acting like a primary key for that row).
Running-total(1) will work, but only when the data is fetched in the right order. Otherwise the server will generate sequences in a different order than expected. Make sure you sort properly by applying sorts in the query..
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.