Here you go.
ORDER BY SUBSTRING(a.Clco,1,2)+REPLICATE('0', 10 - 
LEN(SUBSTRING(a.Clco,3,LEN(a.Clco)))+ SUBSTRING(a.Clco,3,LEN(a.ClCo))


-----Original Message-----
From: Dave Phillips <[EMAIL PROTECTED]>
To: cf-newbie <[email protected]>
Sent: Wed, 29 Oct 2008 4:00 pm
Subject: RE: Numerical order of query results



Copy and paste the ORDER BY you used please.
Dave
-----Original Message-----
rom: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
ent: Wednesday, October 29, 2008 2:41 PM
o: cf-newbie
ubject: Re: Numerical order of query results
I got this error.
ncorrect syntax near ')'. 



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-newbie/message.cfm/messageid:4121
Subscription: http://www.houseoffusion.com/groups/cf-newbie/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.15

Reply via email to