Guest_imported
New member
- Jan 1, 1970
- 0
Sample 1:
SELECT * from table order by date into cursor tmp
SCAN
insert to another cursor statement
ENDSCAN
Notice that this approach in sample 1 creating 2 cursors which is space consuming for same set of data.
I'm trying to use the SCAN....ENDSCAN. Wondering is there a way to sorting the block of data comming into the SCAN command ?
SELECT * from table order by date into cursor tmp
SCAN
insert to another cursor statement
ENDSCAN
Notice that this approach in sample 1 creating 2 cursors which is space consuming for same set of data.
I'm trying to use the SCAN....ENDSCAN. Wondering is there a way to sorting the block of data comming into the SCAN command ?