![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I have an application that helps the client retrieve data from the DB. It allows the client to enter parameters for us to create the sql. and the client doesn't have to understand the data model. The request that came in recently has thrown me for a loop. The client want to be able to customize the return sort order. for example order by: due_date desc, (object_name like 'C%', followed by object_name like 'N%, followed by object_name like 'F%', followed by object_name like 'S%'), object_id asc is there a way we can create a comparable enumeration and use it in the sort? |
![]() |
| Thread Tools | |
| Display Modes | |
| |