Are you saying to just fake the primary key by using the row number and hope that it is the same as the actual primary key? What if the query is reordered, it won't line up at that point. Is there a way to get the primary key of the record without having to do a whole query to get that?
|