Hi,
Try something like this:
SELECT TOP 100 ... FROM ... WHERE custname (morethan) lcvarname ORDER BY custname
SELECT TOP 100 ... FROM ... WHERE custname (lessthan) lcvarname ORDER BY custname DESC
Union this cursors and reorder by custname ( not using UNION because must have ORDER BY in both SELECT ).
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only