Look into CAST() or CONVERT() I think you can do this using the CAST()
function.

-Adrian

-----Original Message-----
From: Lee Surma [mailto:[EMAIL PROTECTED]]

I have a bunch of IP numbers stored in a VarChar field in SQL7. When I sort
them, it sorts like text, as it should, with not great results. Is there a
quick and easy way to get the IP numbers to sort like a number?


------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to