Addressing cursors using a field.(SQL Server) -
I have a table that I process using the cursor let's say that its structure is such: RID | School | Order |
Now, I filter other schools (so only I have been shown) and then I order according to the order, so that I can find the text how I want to. Now, my problem is that this sequence is not directly rising (although all of them are unique to school) it can be lost from 1,2,3,200,823 and so on. But with the original order value cursor (Absolute) with the command ORDER ORDER = ORDER
ORDER I originally
ex> SELECT * Use it also) It adjusts the table so that when an order field exits (from 1 to 2 to 100), then it thinks that ORDER = 100 is the third line in its internal table, as it should be
But is it possible to resolve such a situation with the cursor so that I < Pre> FETCH ABSOLUTE 100 ..
Can I really do ORDER = 100?
Comments
Post a Comment