Or cast/convert the character as numeric/decimal so you dont have to ch
ange
table structure.

CC


                                                                       
                                            
                    jacob                                              
                                            
                    @excaliburfil        To:     CF-Talk <cf-talk@house
offusion.com>                               
                    ms.com               cc:                           
                                            
                    (Jacob)              Subject:     Re: ORDER BY (SQL
 Server)                                    
                                                                       
                                            
                    12/20/01                                           
                                            
                    02:06 PM                                           
                                            
                    Please                                             
                                            
                    respond to                                         
                                            
                    cf-talk                                            
                                            
                                                                       
                                            
                                                                       
                                            




Use decimal or numeric for the data type.

At 09:34 AM 12/20/2001 -0500, you wrote:
>I have noticed when using an ORDER BY clause that my list sorts on fir
st
>digit of a number and not the whole number. Does the data type definit
ion
 in
>my database have any impact on the sort?
>
>Sorts like this right now:1, 10, 2, 20, 3, 30
>
>instead of: 1,2,3,10,20,30
>

______________________________________________________________________
Why Share?
  Dedicated Win 2000 Server � PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation � $99/Month � Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusionc
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to