dbTalk Databases Forums  

custom sort

microsoft.public.sqlserver.dts microsoft.public.sqlserver.dts


Discuss custom sort in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
stormguts
 
Posts: n/a

Default custom sort - 10-06-2004 , 11:05 AM






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?


Reply With Quote
  #2  
Old   
Allan Mitchell
 
Posts: n/a

Default Re: custom sort - 10-06-2004 , 01:50 PM






Not that I know of.

Sorry



--

Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP)
www.SQLDTS.com - The site for all your DTS needs.
www.Konesans.com


"stormguts" <stormguts (AT) discussions (DOT) microsoft.com> wrote

Quote:
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?




Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.