in reply to Re: compare current row with previous row
in thread compare current row with previous row
First off.. apologies for not stating the issue more clearly. This was my first post so in future I'll try and be more specific.
The select statement I put in was purely as an example to demonstrate the issue. Granted I should have selected multiple columns. The real statement I'm dealing with is about a page of A4 and contains some pretty horrendous sql (imo). Anyhow suffice it to say the select being issued is fixed.
The number of columns actually being selected is 15 but I'm only interested in a comparison of some of these columns.
Thanks for the answer by the way